Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: address PR review feedback

Sushmitha Mallesh1465bcf7960c
diff --git a/docs/content/cookbooks/fast-api.mdx b/docs/content/cookbooks/fast-api.mdx
index cd9b79df6..3b37ece2e 100644
--- a/docs/content/cookbooks/fast-api.mdx
+++ b/docs/content/cookbooks/fast-api.mdx
@@ -133,7 +133,7 @@ Here's everything together:
## Running the server
```bash
-uv run uvicorn main:app --reload
+uv run --env-file .env uvicorn main:app --reload
```
The server runs at `http://localhost:8000`. Visit `/docs` for the interactive Swagger UI.
diff --git a/docs/content/cookbooks/tutorial-chat-app.mdx b/docs/content/cookbooks/tutorial-chat-app.mdx
index 8e12c78a0..c9bdd8a6e 100644
--- a/docs/content/cookbooks/tutorial-chat-app.mdx
+++ b/docs/content/cookbooks/tutorial-chat-app.mdx
@@ -288,6 +288,7 @@ export function ToolCallDisplay({
Now update `app/page.tsx` to render tool calls:
```tsx title="app/page.tsx"
+// @errors: 2307
import React from "react";
declare function ToolCallDisplay(props: { toolName: string; input: unknown; output?: unknown; isLoading: boolean }): React.ReactElement;
// ---cut---
@@ -296,7 +297,6 @@ declare function ToolCallDisplay(props: { toolName: string; input: unknown; outp
import { useState } from "react";
import { useChat } from "@ai-sdk/react";
import { DefaultChatTransport, getToolName, isToolUIPart } from "ai";
-// @ts-ignore
import { ToolCallDisplay } from "../components/ToolCallDisplay";
export default function Chat() {