26 lines
722 B
TOML
26 lines
722 B
TOML
# Example configuration showing dynamic Azure endpoint support
|
|
|
|
[models.gpt_5_mini]
|
|
routing = ["azure"]
|
|
|
|
[models.gpt_5_mini.providers.azure]
|
|
type = "azure"
|
|
deployment_id = "gpt-5"
|
|
|
|
# Option 1: Environment variable endpoint
|
|
# endpoint = "env::AZURE_API_BASE"
|
|
# Option 2: Dynamic endpoint - resolved at runtime from request credentials
|
|
endpoint = "dynamic::azure_api_base"
|
|
# Option 3: Static endpoint (current way)
|
|
# endpoint = "https://your-endpoint.openai.azure.com"
|
|
|
|
# Dynamic API key - will be resolved at runtime from credentials
|
|
api_key_location = "dynamic::azure_api_key"
|
|
|
|
[functions.my_function_name]
|
|
type = "chat"
|
|
|
|
[functions.my_function_name.variants.my_variant_name]
|
|
type = "chat_completion"
|
|
model = "gpt_5_mini"
|