feat(cloud): support Anthropic provider base URL
Tests / Test passed: 665

This commit is contained in:
2026-07-14 07:58:38 +08:00
parent 8b7e5a2800
commit 9250254dec
13 changed files with 124 additions and 39 deletions
+4 -3
View File
@@ -387,9 +387,10 @@ mode:
`AI_PLANNER_TIMEOUT_SECONDS`, `ANTHROPIC_API_KEY`, or `OPENAI_API_KEY`.
- **Profile types:** choose **Anthropic** for native Anthropic tool use, or
**OpenAI-compatible** for the OpenAI Chat Completions tool-calling protocol.
Leave its Base URL blank for official OpenAI, or provide the compatible
provider's absolute HTTP(S) `/v1` endpoint. Providers requiring another
request schema or custom authentication are not supported by this path.
Both accept an optional absolute HTTP(S) Base URL; leave it blank for the
official provider endpoint. The configured endpoint must accept the selected
provider's existing request schema and authentication; custom headers or
incompatible parameter dialects are not supported by this path.
- **Activation is immediate:** a newly activated enabled profile becomes the
Provider/model for the next Cloud-proxy planner decision. A Cloud-planner
request fails closed until one enabled profile is active; it never falls back