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
- Load .env file explicitly with `uv run --env-file .env` - Fix @ts-ignore leaking into rendered code in chat app tutorial Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Feb 25, 2026 at 16:17 UTC
1465bcf7960c760f9d4b83bc69072ba916389d20
2 files changed
+2
-2
docs/content/cookbooks/fast-api.mdx
+1
-1
@@ -133,7 +133,7 @@ Here's everything together:
133
## Running the server
134
135
```bash
136
-uv run uvicorn main:app --reload
136
+uv run --env-file .env uvicorn main:app --reload
137
```
138
139
The server runs at `http://localhost:8000`. Visit `/docs` for the interactive Swagger UI.
docs/content/cookbooks/tutorial-chat-app.mdx
+1
-1
@@ -288,6 +288,7 @@ export function ToolCallDisplay({
288
Now update `app/page.tsx` to render tool calls:
289
290
```tsx title="app/page.tsx"
291
+// @errors: 2307
292
import React from "react";
293
declare function ToolCallDisplay(props: { toolName: string; input: unknown; output?: unknown; isLoading: boolean }): React.ReactElement;
294
// ---cut---
@@ -296,7 +297,6 @@ declare function ToolCallDisplay(props: { toolName: string; input: unknown; outp
297
import { useState } from "react";
298
import { useChat } from "@ai-sdk/react";
299
import { DefaultChatTransport, getToolName, isToolUIPart } from "ai";
299
-// @ts-ignore
300
import { ToolCallDisplay } from "../components/ToolCallDisplay";
301
302
export default function Chat() {