Code Search
Ask
Repositories
Collapse sidebar
What's new
Guest
Not signed in
File Tree
Loading...
History
Shift Ctrl H
Explore
Shift Ctrl E
vercel/ai
ยท
examples
ai-functions
src
stream-text
openai
abort.ts
audio.ts
basic.ts
cached-prompt-tokens.ts
chatbot.ts
code-interpreter-tool.ts
codex.ts
compaction.ts
compatible-abort-reason.ts
compatible-deepseek.ts
compatible-google-thought-signatures.ts
compatible-litellm-anthropic-cache-control.ts
compatible-raw-chunks.ts
compatible-togetherai-output-object.ts
compatible-togetherai-tool-call.ts
compatible-togetherai.ts
completion-chat.ts
completion.ts
custom-fetch-inject-error.ts
dynamic-tool-call.ts
file-search-tool.ts
flex-processing.ts
fullstream-logprobs.ts
fullstream-raw.ts
fullstream.ts
global-provider.ts
gpt-5-1.ts
gpt-5-3-codex.ts
gpt-5-output-object-reasoning.ts
image-generation-tool.ts
include-request-messages.ts
local-shell-tool.ts
multi-step.ts
on-chunk-tool-call-streaming.ts
on-chunk.ts
on-finish-response-messages.ts
on-finish-steps.ts
on-finish.ts
on-step-finish.ts
output-array-element-stream.ts
output-array.ts
output-choice.ts
output-default.ts
output-json.ts
output-object-fullstream.ts
output-object-name-description.ts
output-object-on-finish.ts
output-object-promise.ts
output-object-raw-json-schema.ts
output-object-reasoning.ts
output-object-request-body.ts
output-object-store-generation.ts
output-object-token-usage.ts
output-object-unstructured.ts
output-object.ts
phase.ts
predicted-output.ts
prepare-step.ts
read-ui-message-stream.ts
reader.ts
reasoning-encrypted-content.ts
reasoning.ts
refine-tool-input.ts
request-body.ts
responses-allowed-tools.ts
responses-apply-patch.ts
responses-chatbot.ts
responses-client-tool-search.ts
responses-code-interpreter.ts
responses-custom-tool-multi-turn.ts
responses-custom-tool.ts
responses-file-search.ts
responses-mcp-tool-approval.ts
responses-namespace.ts
responses-output-object.ts
responses-raw-chunks.ts
responses-reasoning-summary.ts
responses-reasoning-tool-call.ts
responses-reasoning-websearch.ts
responses-reasoning-zero-data-retention.ts
responses-service-tier.ts
responses-shell-container-multiturn.ts
responses-shell-container-skills.ts
responses-shell-container.ts
responses-shell-local-multiturn.ts
responses-shell-local-skills.ts
responses-shell-tool.ts
responses-tool-call-raw-chunks-lmstudio.ts
responses-tool-call.ts
responses-tool-search.ts
responses.ts
step-performance.ts
store-generation.ts
swarm.ts
timeout-chunk.ts
timeout-step.ts
timeout-total.ts
timeout.ts
tool-abort.ts
tool-approval.ts
tool-call-raw-json-schema.ts
tool-call-strict.ts
tool-call-with-runtime-context.ts
tool-call-with-tools-context.ts
tool-call.ts
tool-mcp.ts
tool-output-stream.ts
tool-timeout-error.ts
tool-timeout.ts
web-search-tool.ts