hmgill commited on
Commit
3068f11
·
verified ·
1 Parent(s): a6e6d5e

Update cellemetry/agents/analyst.py

Browse files
Files changed (1) hide show
  1. cellemetry/agents/analyst.py +10 -6
cellemetry/agents/analyst.py CHANGED
@@ -3,6 +3,7 @@ Analyst Agent - Expert microscopy image analyst.
3
  Segments biological components and computes statistics.
4
  """
5
  from google.adk.agents import LlmAgent
 
6
  from google.adk.tools.agent_tool import AgentTool
7
 
8
  from ..tools import ANALYST_TOOLS
@@ -59,10 +60,13 @@ Return your findings as structured data including:
59
  """
60
 
61
  analyst_agent = LlmAgent(
62
- name="analyst",
63
- model="gemini-3-pro-preview",
64
- description="Expert microscopy analyst that segments and quantifies biological structures.",
65
- instruction=ANALYST_INSTRUCTION,
66
- tools=ANALYST_TOOLS,
67
- output_key="analyst_result",
 
 
 
68
  )
 
3
  Segments biological components and computes statistics.
4
  """
5
  from google.adk.agents import LlmAgent
6
+ from google.adk.models.google_llm import Gemini
7
  from google.adk.tools.agent_tool import AgentTool
8
 
9
  from ..tools import ANALYST_TOOLS
 
60
  """
61
 
62
  analyst_agent = LlmAgent(
63
+ name = "analyst",
64
+ description = "Expert microscopy analyst for localizing and quantifying biological structures",
65
+ model = Gemini(
66
+ model="gemini-3-flash-preview",
67
+ media_resolution="high"
68
+ ),
69
+ instruction = ANALYST_INSTRUCTION,
70
+ tools = ANALYST_TOOLS,
71
+ output_key = "analyst_result",
72
  )