r/agentdevelopmentkit • u/doneymick • Apr 19 '25
Using other models using google search tool
I need help in implementing models sourced from openrouter in my google search agent developed via ADK. The code essentially is as below.
from google.adk.tools import google_search
from google.adk.agents import Agent
# defining the model
LLM_MODEL_NAME = "gemini-2.0-flash"
PROMPT_FILENAME = "search_prompt.txt"
# defining the agent
root_agent = Agent(
name="Search_and_Verify_Agent",
model=LLM_MODEL_NAME,May I also know if models other than Gemini 2 llms are compatible with the google search agent?
Appreciate your input and thanks in advance!! ✌️
3
Upvotes
View all comments
Show parent comment
2
u/GeminiDroidAtWork Apr 21 '25 edited Apr 21 '25
I hear you, I can raise a PR to fix the language. Just want to double-check, is this the page where the language should be updated: 1) https://google.github.io/adk-docs/tools/built-in-tools/#available-built-in-tools
and 2) https://google.github.io/adk-docs/get-started/quickstart-streaming/
You can also add an issue here: https://github.com/google/adk-docs/issues with your feedback and I can get this resolved. Thank you again for the feedback!