File tree Expand file tree Collapse file tree 4 files changed +22
-1
lines changed
Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ GOOGLE_GENAI_USE_VERTEXAI = 1
2+ GOOGLE_CLOUD_PROJECT = otel-starter-project
3+ GOOGLE_CLOUD_LOCATION = us-central1
Original file line number Diff line number Diff line change 1+ from . import agent
Original file line number Diff line number Diff line change 1+ from textwrap import dedent
2+ from google .adk .agents .llm_agent import Agent
3+
4+ root_agent = Agent (
5+ model = "gemini-2.5-flash" ,
6+ name = "root_agent" ,
7+ description = "An agent that can describe images" ,
8+ instruction = dedent ("""\
9+ You are an agent that can describe images. You don't have any tools at your disposal.
10+ Some guidelines for you:
11+
12+ - Don't answer any questions that are opinion based or involve emotions.
13+ - Keep it brief and succinct
14+ - But also be descriptive
15+ - Answer in a professional tone
16+ """ ),
17+ )
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ def setup_opentelemetry() -> None:
127127 # set_uploader(GcsUploader(bucket_path=OTEL_PYTHON_GCS_UPLOAD_BUCKET))
128128
129129 # Load instrumentors
130- SQLite3Instrumentor ().instrument ()
130+ # SQLite3Instrumentor().instrument()
131131 VertexAIInstrumentor ().instrument ()
132132 GoogleGenAiSdkInstrumentor ().instrument ()
133133 AioHttpClientInstrumentor ().instrument ()
You can’t perform that action at this time.
0 commit comments