Modules§
- advisor
- Configuration for the Claude Advisor server-side tool.
- agent
- auth
- automation
- commands
- custom_
provider - dotfile_
protection - Dotfile protection configuration.
- model
- permissions
- plugins
- prompt_
cache - provider
- provider_
override - sandbox
- Sandbox configuration for VT Code
- security
- skills
- Skills configuration
- tools
Structs§
- Advisor
Caching Config - Enables prompt caching for the advisor’s own transcript across calls within a conversation. This is an on/off switch, not a cache-control breakpoint.
- Advisor
Config - Configuration for the Claude Advisor server-side tool.
- Agent
Codex AppServer Config - Agent
Config - Agent-wide configuration
- Agent
Onboarding Config - Agent
Permissions Config - Agent
Prompt Suggestions Config - Inline prompt suggestion configuration for the chat composer.
- Anthropic
Config - Anthropic-specific provider configuration
- Anthropic
Fallback Target - One explicit server-side fallback entry.
- Anthropic
Prompt Cache Settings - Anthropic Claude cache control settings
- Auth
Config - Auto
Permission Config - Classifier-backed auto permission review configuration.
- Auto
Permission Environment Config - Trust-boundary configuration for auto permission review.
- Automation
Config - Automation-specific configuration toggles.
- Bundled
Skills Config - Bundled skills configuration.
- Commands
Config - Command execution configuration
- Copilot
Auth Config - Custom
Provider Command Auth Config - Command-backed bearer token configuration for a custom provider.
- Custom
Provider Config - Configuration for a user-defined OpenAI-compatible provider endpoint.
- Custom
Provider Profile Config - Sparse per-provider or per-model capability/profile settings.
- Deep
Seek Prompt Cache Settings - DeepSeek prompt caching configuration (automatic KV cache reuse)
- Docker
Sandbox Config - Docker sandbox configuration
- Dotfile
Protection Config - Dotfile protection configuration.
- Editor
Tool Config - External editor integration configuration
- External
Sandbox Config - External sandbox configuration (Docker, MicroVM)
- Full
Auto Config - Controls for running the agent without interactive approvals.
- Gatekeeper
Config - Gatekeeper mitigation configuration (macOS only)
- Gemini
Prompt Cache Settings - Gemini API caching preferences
- Memories
Config - Codex-compatible memories configuration.
- MicroVM
Sandbox Config - MicroVM sandbox configuration
- Model
Config - Model-specific behavior configuration
- Moonshot
Prompt Cache Settings - Moonshot prompt caching configuration (leverages server-side reuse)
- Network
Allowlist Entry Config - Network allowlist entry
- Network
Config - Network egress configuration
- OpenAI
Auth Config - OpenAI
Config - OpenAI-specific provider configuration
- OpenAI
Hosted Shell Config - OpenAI hosted shell configuration.
- OpenAI
Hosted Shell Domain Secret - Per-domain secret injected by the OpenAI hosted shell runtime.
- OpenAI
Hosted Shell Network Policy - Request-scoped network policy for OpenAI hosted shell environments.
- OpenAI
Manual Compaction Config - Manual compaction defaults for the native OpenAI
/responses/compactflow. - OpenAI
Prompt Cache Settings - OpenAI prompt caching controls (automatic with metrics)
- OpenAI
Tool Search Config - OpenAI hosted tool search configuration.
- Open
Responses Config - Open Responses specification compliance configuration
- Open
Router Auth Config - Configuration for OpenRouter OAuth authentication.
- Open
Router Prompt Cache Settings - OpenRouter passthrough caching controls
- Permissions
Config - Permission system configuration - Controls command resolution, audit logging, and caching
- Persistent
Memory Config - Plugin
Runtime Config - Runtime configuration for dynamic plugin loading.
- Prompt
Caching Config - Global prompt caching configuration loaded from vtcode.toml
- Provider
Override Config - Configuration for overriding a built-in provider’s model list.
- Provider
Prompt Caching Config - Per-provider configuration overrides
- Resolved
Custom Provider Profile - Resolved capability/profile settings after applying provider defaults and exact model-specific overrides.
- Resource
Limits Config - Resource limits configuration
- Sandbox
Config - Sandbox configuration
- Scheduled
Tasks Config - Controls for the built-in scheduled task subsystem.
- Seccomp
Config - Linux seccomp configuration
- Security
Config - Security configuration
- Sensitive
Paths Config - Sensitive paths configuration
- Skills
Config - Skills system configuration
- Tool
Search Config - Configuration for Anthropic’s tool search feature (advanced-tool-use beta) Enables dynamic tool discovery for large tool catalogs (up to 10k tools)
- Tools
Config - Tools configuration
- WebFetch
Config - Web Fetch tool security configuration
- WebSearch
Config - Web Search tool configuration.
- ZaiPrompt
Cache Settings - Z.AI prompt caching configuration (disabled until platform exposes metrics)
Enums§
- Advisor
Cache Ttl - Cache lifetime for the advisor’s own transcript across calls in a conversation.
- Anthropic
Fallback Mode - Keyword forms of
AnthropicFallbacks. - Anthropic
Fallbacks - Server-side refusal fallback selection:
"default","off", or an explicit list of fallback models. - Custom
Provider ApiFormat - Typed API format used by custom providers.
- External
Sandbox Type - External sandbox type
- Gemini
Prompt Cache Mode - Gemini prompt caching mode selection
- Micro
VmProvider - MicroVM provider (VMM) type
- Network
Policy - Network egress policy
- OpenAI
Hosted Shell Environment - How VT Code should provision OpenAI hosted shell environments.
- OpenAI
Hosted Shell Network Policy Type - Hosted shell network access policy.
- OpenAI
Hosted Skill - Hosted skill reference mounted into an OpenAI hosted shell environment.
- OpenAI
Hosted Skill Version - Hosted skill version selector for OpenAI Responses hosted shell mounts.
- OpenAI
Preferred Method - OpenAI
Prompt Cache KeyMode - OpenAI prompt cache key derivation mode.
- OpenAI
Service Tier - Native OpenAI service tier selection.
- Plugin
Trust Level - Trust model for third-party plugins.
- Prompt
Cache Retention - OpenAI prompt cache retention policy. Controls the model-side prompt caching window.
- Prompt
Format - Prompt format for skills section (Agent Skills spec)
- Resource
Limits Preset - Resource limits preset
- Sandbox
Policy - Sandbox policy following the Codex model
- Seccomp
Profile Preset - Seccomp profile preset
- Skills
Render Mode - Skills rendering mode
- Thinking
Display Mode - Controls how thinking content is returned in Anthropic API responses.
- Tool
Policy - Tool execution policy
- Tool
Profile - Model-facing tool profile for a session.
- Tool
Search Algorithm - Tool search algorithm for Anthropic’s advanced-tool-use beta
- WebFetch
Mode - Web fetch security mode
- WebSearch
Provider - Web search provider identifier.
Functions§
- build_
openai_ prompt_ cache_ key - Build a stable OpenAI
prompt_cache_keyfor requests that should share provider-side cache routing. - build_
session_ affinity_ prompt_ cache_ key - Build the namespaced session-affinity / prompt-cache key for a request.
- map_
prompt_ cache_ key_ for_ provider - Rewrite an OpenAI-style cache key for routes that share the wire shape but need distinct routing stickiness. Keeps the stable session identifier while namespacing gateway/session-affinity traffic apart from native OpenAI.
- session_
affinity_ key_ enabled - Whether
LLMRequest.prompt_cache_keyshould carry session lineage for this provider. - session_
affinity_ provider - Providers that send lineage-stable session/cache identity on the wire.
- tool_
call_ delay_ for_ rate - tool_
loop_ limit_ reached