mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-18 14:44:21 +01:00
feat: add ANTHROPIC_HOST configuration for Anthropic in cli and UI (#1776)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"name": "Anthropic",
|
||||
"description": "Use Claude and other Anthropic models",
|
||||
"models": ["claude-3.5-sonnet-2"],
|
||||
"required_keys": ["ANTHROPIC_API_KEY"]
|
||||
"required_keys": ["ANTHROPIC_API_KEY", "ANTHROPIC_HOST"]
|
||||
},
|
||||
"databricks": {
|
||||
"name": "Databricks",
|
||||
|
||||
@@ -133,7 +133,7 @@ impl Provider for AnthropicProvider {
|
||||
ConfigKey::new("ANTHROPIC_API_KEY", true, true, None),
|
||||
ConfigKey::new(
|
||||
"ANTHROPIC_HOST",
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
Some("https://api.anthropic.com"),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user