From 2f3e269269f2e7a8d9488868246e98e4d2da30af Mon Sep 17 00:00:00 2001 From: Milo Gu Date: Wed, 4 Feb 2026 21:29:14 +0800 Subject: [PATCH] fix: missing space in words and set model when use news agent --- tools/overview.mdx | 2 +- tools/usage/team-with-tool-hooks.mdx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/overview.mdx b/tools/overview.mdx index 2a7b3874f..473b40c7c 100644 --- a/tools/overview.mdx +++ b/tools/overview.mdx @@ -95,7 +95,7 @@ This will be converted into the following tool definition: ``` This tool definition is then sent to the model so that it knows how to call the tool when it is requested. -You'll notice as well that the `Args` section is automatically stripped from the definition, parsed and used to populate the definitions of individualproperties. +You'll notice as well that the `Args` section is automatically stripped from the definition, parsed and used to populate the definitions of individual properties. When using a Pydantic model in an argument of a tool function, Agno will automatically convert the model into the required tool definition format. diff --git a/tools/usage/team-with-tool-hooks.mdx b/tools/usage/team-with-tool-hooks.mdx index 55ae33253..79b03cf4f 100644 --- a/tools/usage/team-with-tool-hooks.mdx +++ b/tools/usage/team-with-tool-hooks.mdx @@ -49,6 +49,7 @@ news_agent = Agent( name="News Agent", id="news-agent", role="Search HackerNews for information", + model=OpenAIResponses(id="gpt-5.2"), tools=[HackerNewsTools(cache_results=True)], instructions=[ "Find information about the company on HackerNews",