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
generate-text
openai
active-tools.ts
audio.ts
basic.ts
cached-prompt-tokens.ts
code-interpreter-tool.ts
compaction.ts
compatible-chat-provider-options.ts
compatible-deepseek.ts
compatible-google-thought-signatures.ts
compatible-litellm-anthropic-cache-control.ts
compatible-openai-image.ts
compatible-togetherai-output-object.ts
compatible-togetherai-tool-call.ts
compatible-togetherai.ts
completion-chat.ts
completion.ts
custom-fetch.ts
custom-headers.ts
dynamic-tool-call.ts
empty-assistant-content.ts
file-reference.ts
file-search-tool.ts
full-result.ts
gpt-5-3-codex.ts
gpt-5-output-object-reasoning.ts
gpt-chat-verbosity.ts
gpt5-verbosity.ts
image-base64.ts
image-data-tagged.ts
image-generation-tool.ts
image-url-tagged.ts
image-url.ts
image.ts
include-request-messages.ts
listen-to-events.ts
local-shell-tool.ts
log-metadata-middleware.ts
logprobs.ts
multi-step.ts
nullable.ts
on-finish.ts
output-array.ts
output-choice.ts
output-default.ts
output-json.ts
output-object-arktype.ts
output-object-date-parsing.ts
output-object-full-result.ts
output-object-multimodal.ts
output-object-name-description.ts
output-object-raw-json-schema.ts
output-object-reasoning.ts
output-object-request-body.ts
output-object-request-headers.ts
output-object-store-generation.ts
output-object-zod4.ts
output-object.ts
pdf-url.ts
pdf.ts
provider-options.ts
reasoning-encrypted-content.ts
reasoning-tools.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-file-url-tool-result.ts
responses-image-tool-result-url.ts
responses-image-url.ts
responses-image.ts
responses-mcp-tool-approval.ts
responses-mcp-tool-auth.ts
responses-mcp-tool-connectors.ts
responses-mcp-tool.ts
responses-namespace.ts
responses-output-object.ts
responses-pdf-url.ts
responses-pdf.ts
responses-previous-response-id.ts
responses-provider-metadata-source-document-part.ts
responses-provider-metadata-text-part.ts
responses-roundtrip-server-side-tools.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-with-approval.ts
responses-shell-tool.ts
responses-tool-call.ts
responses-tool-search.ts
responses-unsupported-file-type.ts
responses.ts
step-performance.ts
store-generation.ts
system-message-a.ts
system-message-b.ts
timeout-step.ts
timeout-total.ts
timeout.ts
tool-approval-generic.ts
tool-approval.ts
tool-call-raw-json-schema.ts
tool-call-stop-condition.ts
tool-call-with-runtime-context.ts
tool-call-with-tools-context.ts
tool-call.ts
tool-choice.ts
tool-context-error.ts
tool-execution-error.ts
tool-timeout-error.ts
tool-timeout-per-tool-error.ts
tool-timeout-per-tool.ts
tool-timeout.ts
warning.ts
web-search-tool.ts