ehhuang
ehhuang
I see you have `tool_choice="required"` in the config, which forces a tool use. Could you remove it (defaults to "auto") and retry?
This is because of the default system prompt. I can repro. Will experiment with the prompt to improve it.
> does the Agent() construct in Llama Stack support multi-turn tool use? yes it does
Put up https://github.com/meta-llama/llama-stack/pull/1803. Trying to see if I can repro the httpx timeout issue
In Stack, we invoke the tool like this: ``` from mcp import ClientSession from mcp.client.sse import sse_client async with sse_client("http://localhost:8889/sse") as streams: async with ClientSession(*streams) as session: print("Initializing session") await...
> [@ehhuang](https://github.com/ehhuang) thanks for digging further into this. The resource change notification can be less priority now as Llama Stack does not yet support prompts and resources. > > >...
As in agent.create_session