Major changes: - Fixed package executor URL protocol handling (add https:// if missing) - Switched from streamText to generateText for proper tool execution - AI now calls tool AND generates natural language response - Tool results no longer show raw JSON metadata Tool executor (tool-executor-agent.ts): - Use generateText() instead of streamText() for tool execution - Add system prompt to guide AI to summarize tool results - Return result.text for natural language output - Tool definition uses inputSchema (AI SDK v6 format) Package executor: - Add getSandboxUrl() to ensure URL has https:// protocol - Fixes "Failed to parse URL" error in production 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||