mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix: deprecate ai provider seeding env config (#25854)
Environment variables used to configure AI Gateway providers are now deprecated, and we need to reflect this as such.
This commit is contained in:
+44
-18
@@ -125,35 +125,55 @@ AI GATEWAY OPTIONS:
|
||||
disabled, only centralized key authentication is permitted.
|
||||
|
||||
--ai-gateway-anthropic-base-url string, $CODER_AI_GATEWAY_ANTHROPIC_BASE_URL (default: https://api.anthropic.com/)
|
||||
The base URL of the Anthropic API.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The base URL of the Anthropic
|
||||
API.
|
||||
|
||||
--ai-gateway-anthropic-key string, $CODER_AI_GATEWAY_ANTHROPIC_KEY
|
||||
The key to authenticate against the Anthropic API.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The key to authenticate
|
||||
against the Anthropic API.
|
||||
|
||||
--ai-gateway-bedrock-access-key string, $CODER_AI_GATEWAY_BEDROCK_ACCESS_KEY
|
||||
The access key to authenticate against the AWS Bedrock API.
|
||||
|
||||
--ai-gateway-bedrock-access-key-secret string, $CODER_AI_GATEWAY_BEDROCK_ACCESS_KEY_SECRET
|
||||
The access key secret to use with the access key to authenticate
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The access key to authenticate
|
||||
against the AWS Bedrock API.
|
||||
|
||||
--ai-gateway-bedrock-access-key-secret string, $CODER_AI_GATEWAY_BEDROCK_ACCESS_KEY_SECRET
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The access key secret to use
|
||||
with the access key to authenticate against the AWS Bedrock API.
|
||||
|
||||
--ai-gateway-bedrock-base-url string, $CODER_AI_GATEWAY_BEDROCK_BASE_URL
|
||||
The base URL to use for the AWS Bedrock API. Use this setting to
|
||||
specify an exact URL to use. Takes precedence over
|
||||
CODER_AI_GATEWAY_BEDROCK_REGION.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The base URL to use for the
|
||||
AWS Bedrock API. Use this setting to specify an exact URL to use.
|
||||
Takes precedence over CODER_AI_GATEWAY_BEDROCK_REGION.
|
||||
|
||||
--ai-gateway-bedrock-model string, $CODER_AI_GATEWAY_BEDROCK_MODEL (default: global.anthropic.claude-sonnet-4-5-20250929-v1:0)
|
||||
The model to use when making requests to the AWS Bedrock API.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The model to use when making
|
||||
requests to the AWS Bedrock API.
|
||||
|
||||
--ai-gateway-bedrock-region string, $CODER_AI_GATEWAY_BEDROCK_REGION
|
||||
The AWS Bedrock API region to use. Constructs a base URL to use for
|
||||
the AWS Bedrock API in the form of
|
||||
'https://bedrock-runtime.<region>.amazonaws.com'.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The AWS Bedrock API region to
|
||||
use. Constructs a base URL to use for the AWS Bedrock API in the form
|
||||
of 'https://bedrock-runtime.<region>.amazonaws.com'.
|
||||
|
||||
--ai-gateway-bedrock-small-fastmodel string, $CODER_AI_GATEWAY_BEDROCK_SMALL_FAST_MODEL (default: global.anthropic.claude-haiku-4-5-20251001-v1:0)
|
||||
The small fast model to use when making requests to the AWS Bedrock
|
||||
API. Claude Code uses Haiku-class models to perform background tasks.
|
||||
See
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The small fast model to use
|
||||
when making requests to the AWS Bedrock API. Claude Code uses
|
||||
Haiku-class models to perform background tasks. See
|
||||
https://docs.claude.com/en/docs/claude-code/settings#environment-variables.
|
||||
|
||||
--ai-gateway-circuit-breaker-enabled bool, $CODER_AI_GATEWAY_CIRCUIT_BREAKER_ENABLED (default: false)
|
||||
@@ -172,10 +192,16 @@ AI GATEWAY OPTIONS:
|
||||
to disable (unlimited).
|
||||
|
||||
--ai-gateway-openai-base-url string, $CODER_AI_GATEWAY_OPENAI_BASE_URL (default: https://api.openai.com/v1/)
|
||||
The base URL of the OpenAI API.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The base URL of the OpenAI
|
||||
API.
|
||||
|
||||
--ai-gateway-openai-key string, $CODER_AI_GATEWAY_OPENAI_KEY
|
||||
The key to authenticate against the OpenAI API.
|
||||
Deprecated: manage AI Providers from the Coder UI or HTTP API. If set,
|
||||
this option seeds provider configuration at startup only exactly once.
|
||||
It will not be used in service runtime. The key to authenticate
|
||||
against the OpenAI API.
|
||||
|
||||
--ai-gateway-rate-limit int, $CODER_AI_GATEWAY_RATE_LIMIT (default: 0)
|
||||
Maximum number of AI Gateway requests per second per replica. Set to 0
|
||||
|
||||
Reference in New Issue
Block a user