Skip to content

docs: Let AI Use Your App's Functions - #4703

Open
404oops wants to merge 2 commits into
docs/ai-stream-stopfrom
docs/ai-app-functions
Open

404oops wants to merge 2 commits into
docs/ai-stream-stopfrom
docs/ai-app-functions

Conversation

@404oops

@404oops 404oops commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Adds a bounded function-tool loop with argument validation, unchanged assistant-message replay (including reasoning artifacts and Gemini thought signatures), tool-result errors, and approval before writes.

Validation: exercised a live tool-call round trip and the full example with a declined write on local Puter in OrbStack. The model received the declined action as a tool result. Docs build and npm run check passed.

Stack 4/6. Based on the streaming recipe draft. This recipe explicitly gates data-changing tools on user approval. Recipe changes only.

@404oops
404oops added this pull request to stack #4718 November 20, 2026 13:12
@404oops
404oops marked this pull request as ready for review November 20, 2026 13:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant