Skip to main content

thv llm config set

Set LLM gateway connection settings

Synopsis

Persist LLM gateway connection settings to config.yaml.

Example: thv llm config set
--gateway-url https://llm.example.com
--issuer https://auth.example.com
--client-id my-client-id

thv llm config set [flags]

Options

--audience string OIDC audience (optional)
--bedrock-compat Persist Bedrock compatibility for Claude Code (CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 + per-tier Bedrock model IDs). Applied by "thv llm setup". Use --bedrock-compat=false to clear.
--callback-port int OIDC callback port (omit to keep current; default: ephemeral)
--client-id string OIDC client ID
--enable-1m With Bedrock compat, opt into the 1M context window by appending [1m] to opus/sonnet model IDs.
--gateway-url string LLM gateway base URL (must use HTTPS)
-h, --help help for set
--issuer string OIDC issuer URL
--models strings Model IDs to persist and apply during "thv llm setup", comma-separated or by repeating the flag, e.g. --models=us.anthropic.claude-opus-4-8,us.anthropic.claude-sonnet-5. Credential-helper clients (Claude Desktop) write these as inferenceModels; with Bedrock compat, each ID is also mapped to a Claude Code tier by matching 'haiku', 'opus', or 'sonnet' in the ID.
--proxy-port int Localhost proxy listen port (omit to keep current; default: 14000)
--tls-skip-verify Skip TLS certificate verification for the upstream gateway (local dev only; use --tls-skip-verify=false to clear)

Options inherited from parent commands

--debug Enable debug mode

SEE ALSO