Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: update cookbook examples from gpt-5.2 to gpt-5.4
Sushmitha Malleshbe43be002650
diff --git a/docs/examples/background-agent/sweep.ts b/docs/examples/background-agent/sweep.tsindex 9b975430f..4a6692a36 100644--- a/docs/examples/background-agent/sweep.ts+++ b/docs/examples/background-agent/sweep.ts@@ -7,7 +7,7 @@ import { VercelProvider } from "@composio/vercel";// #region setupconst composio = new Composio({ provider: new VercelProvider() });const userId = process.env.COMPOSIO_USER_ID ?? "default";-const model = openai("gpt-5.2");+const model = openai("gpt-5.4");// #endregion setup// #region sweepdiff --git a/docs/examples/chat-app/route.ts b/docs/examples/chat-app/route.tsindex 43bfb8935..97cf4a44c 100644--- a/docs/examples/chat-app/route.ts+++ b/docs/examples/chat-app/route.ts@@ -18,7 +18,7 @@ export async function POST(req: Request) {const tools = await session.tools();const result = streamText({- model: openai("gpt-5.2"),+ model: openai("gpt-5.4"),system: "You are a helpful assistant. Use Composio tools to help the user.",messages: await convertToModelMessages(messages),tools,diff --git a/docs/examples/hono/server.ts b/docs/examples/hono/server.tsindex d3bd21f6c..1cb8f56ab 100644--- a/docs/examples/hono/server.ts+++ b/docs/examples/hono/server.ts@@ -26,7 +26,7 @@ app.post("/chat", async (c) => {while (true) {const response = await openai.chat.completions.create({- model: "gpt-5.2",+ model: "gpt-5.4",tools,messages,});diff --git a/docs/examples/support-agent/main.py b/docs/examples/support-agent/main.pyindex 320e7d5b3..6bdd75f23 100644--- a/docs/examples/support-agent/main.py+++ b/docs/examples/support-agent/main.py@@ -18,7 +18,7 @@ SYSTEM_PROMPT = """You are a Support Knowledge Agent. Use your tools to help thedef create_agent(tools) -> Agent:return Agent(name="Support Knowledge Agent",- model="gpt-5.2",+ model="gpt-5.4",instructions=SYSTEM_PROMPT,tools=tools,)