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
@@ -96,10 +96,6 @@ def validate_profile_input(
"Timeout must be greater than zero and at most 120"
)
normalized_base_url = _normalize_base_url(base_url)
if provider_type == "anthropic" and normalized_base_url is not None:
raise LlmProviderValidationError(
"Anthropic profiles do not support a custom base URL"
)
return LlmProviderProfileInput(
name=display_name,
name_normalized=normalized_name,