feat: add custom base URL support for Anthropic-compatible proxies

Support ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN to route SDK requests
through LiteLLM or any Anthropic-compatible proxy. Adds TUI wizard
option, TOML config mapping, credential validation, and preflight
endpoint reachability check via SDK query.
This commit is contained in:
ezl-keygraph
2026-03-18 15:53:17 +05:30
parent 916a085d79
commit 762795c111
5 changed files with 93 additions and 5 deletions
+2 -2
View File
@@ -196,8 +196,8 @@ async function validateCredentials(logger: ActivityLogger): Promise<Result<void,
'network',
false,
{ baseUrl },
ErrorCode.AUTH_FAILED
)
ErrorCode.AUTH_FAILED,
),
);
}
}