Add ADK Agent implementation #1

Merged
A8065384 merged 6 commits from adk into main 2026-02-23 05:27:45 +00:00
Showing only changes of commit 838adf8884 - Show all commits

View File

@@ -38,8 +38,14 @@ vector_search_tool = VectorSearchTool(
) )
# Create agent with vector search tool # Create agent with vector search tool
# Configure model with Vertex AI fully qualified path
model_path = (
f'projects/{settings.project_id}/locations/{settings.location}/'
f'publishers/google/models/{settings.agent_language_model}'
)
root_agent = Agent( root_agent = Agent(
model=settings.agent_language_model, model=model_path,
name=settings.agent_name, name=settings.agent_name,
description='A helpful assistant for user questions.', description='A helpful assistant for user questions.',
instruction=settings.agent_instructions, instruction=settings.agent_instructions,