Hello! How to use adk web with non google api model? (Deepinfra or local) #1719
Replies: 5 comments 3 replies
-
description ? or any code snippet ? (you can use LiteLLM library available in ADK) |
Beta Was this translation helpful? Give feedback.
-
I tried and I got an error after the first output when I used tools. This is my code: from google.adk.agents import LlmAgent, Agent def get_reddit_ai_news(subreddit: str, limit: int = 5) -> dict[str, list[str]]:
model = LiteLlm( root_agent = LlmAgent( |
Beta Was this translation helpful? Give feedback.
-
What was ur error? It's Working for me |
Beta Was this translation helpful? Give feedback.
-
Thanks for the discussions. I will move this to the discussions section since it doesn't seems to be an issue of ADK iteself. |
Beta Was this translation helpful? Give feedback.
-
I'll try to send an example tomorrow |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions