No Agent found
Everything is done as mentioned in readme.md
Could you check out https://google.github.io/adk-docs/get-started/quickstart/#run-your-agent and see if you run adk web in the "parent_folder"?
Well, I had this issue earlier, because there is no agents are available in the folder. It can be fixed by creating a folder and run the init.py code or adding sample agents will fix it.
Could you try the above suggestions? Closing the issue now. Feel free to re-open if the issue persists.
Could you try the above suggestions? Closing the issue now. Feel free to re-open if the issue persists.
same error. what should be content in init.py
I had a same issue. When I run in the console akd run . it works perfect
But in the same directory, if if 'adk web' this samething happens
spent hours trying to fix this but this fixed my issue.
Could you check out https://google.github.io/adk-docs/get-started/quickstart/#run-your-agent and see if you run
adk webin the "parent_folder"?
I had a same issue. When I run in the console akd run . it works perfect
But in the same directory, if if 'adk web' this samething happens
Same here.
I think it would be better if adk web and adk run started in the same way.
Ran into the same issue. From a given directory, the command adk run worked but adk web didn't. Consistency would be good to have.
Had this same issue as well, following the readme here: https://google.github.io/adk-docs/agents/config/#build-an-agent
Edit: This worked for me after going to the parent directory of my_agent instead of inside the folder
This fixed my issue.
The most common cause is running the command from the wrong directory or specifying the path incorrectly. Run adk web from the parent directory of your agent's code folder. Incorrect: adk web my_agent/ (if my_agent is the agent folder) Correct: adk web . (run from the directory containing the my_agent folder) or adk web my_project if your structure is my_project/my_agent/.
Had this same issue as well, following the readme here: https://google.github.io/adk-docs/agents/config/#build-an-agent
Edit: This worked for me after going to the parent directory of
my_agentinstead of inside the folder
This worked for me too.
This fixed my issue.
The most common cause is running the command from the wrong directory or specifying the path incorrectly. Run adk web from the parent directory of your agent's code folder. Incorrect: adk web my_agent/ (if my_agent is the agent folder) Correct: adk web . (run from the directory containing the my_agent folder) or adk web my_project if your structure is my_project/my_agent/.
Thanks. This fixed the issue for me