adk-web icon indicating copy to clipboard operation
adk-web copied to clipboard

adk web bug

Open liujianglc opened this issue 7 months ago • 7 comments

new start with google adk, when run adk run web , get the error

Image

code

root_agent = LlmAgent(
    name="weather_time_agent",
    model=LiteLlm(model="deepseek/deepseek-chat"),
    description=(
        "Agent to answer questions about the time and weather in a city."
    ),
    instruction=(
        "You are a helpful agent who can answer user questions about the time and weather in a city."
    ),
    tools=[get_weather, get_current_time],
)

liujianglc avatar May 03 '25 06:05 liujianglc

@liujianglc can you try with this command adk web <agent-folder-name> and let me know if this works

kavinkumar807 avatar May 03 '25 18:05 kavinkumar807

Please follow the quickstart here: https://google.github.io/adk-docs/get-started/quickstart/#run-your-agent to run your agent. If you want to run the web UI, use adk web with an option to append parent folder

wyf7107 avatar May 04 '25 19:05 wyf7107

@liujianglc can you try with this command adk web <agent-folder-name> and let me know if this works

still not work, I wrote the code follow the quick start

liujianglc avatar May 06 '25 00:05 liujianglc

@wyf7107 if this is valid for contribution, please assign this to me. I’m happy to help

kavinkumar807 avatar May 27 '25 19:05 kavinkumar807

@kavinkumar807 Thank you and yes

wyf7107 avatar May 30 '25 04:05 wyf7107

@wyf7107 Thanks, will look into this.

kavinkumar807 avatar May 30 '25 04:05 kavinkumar807

@liujianglc The issue is not replicable with quickstart. It is working fine for me with model="gemini-2.0-flash" model.

I've noticed that you've used model=LiteLlm(model="deepseek/deepseek-chat")

can you provide me with the exact steps to replicate this??

kavinkumar807 avatar Jun 08 '25 18:06 kavinkumar807