mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-26 01:01:40 +00:00
fix: remove ANTHROPIC_BASE_URL env var to avoid collisions (#1675)
ANTHROPIC_BASE_URL collides with Claude Code and other Anthropic tooling. Remove it from the Anthropic provider — base URL overrides should go through config.yaml model.base_url instead. The Alibaba/DashScope provider has its own dedicated base URL and API key env vars which don't collide with anything.
This commit is contained in:
parent
a1c81360a5
commit
71c6b1ee99
3 changed files with 1 additions and 12 deletions
|
|
@ -493,14 +493,6 @@ OPTIONAL_ENV_VARS = {
|
|||
"password": False,
|
||||
"category": "provider",
|
||||
},
|
||||
"ANTHROPIC_BASE_URL": {
|
||||
"description": "Custom Anthropic-compatible API base URL (e.g. Alibaba Cloud DashScope)",
|
||||
"prompt": "Anthropic Base URL",
|
||||
"url": "",
|
||||
"password": False,
|
||||
"category": "provider",
|
||||
"advanced": True,
|
||||
},
|
||||
"DASHSCOPE_API_KEY": {
|
||||
"description": "Alibaba Cloud DashScope API key for Qwen models",
|
||||
"prompt": "DashScope API Key",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue