simplify(compat): anthropic_adapter — drop 30 re-exports + 1 alias, repoint 22 caller files (32 sites), 38 test files (~125 sites)

This commit is contained in:
Teknium
2026-09-03 13:16:47 -07:00
parent 2031c819fe
commit d179f28307
60 changed files with 176 additions and 231 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ def _anthropic_cfg_base_url(model_cfg: Dict[str, Any]) -> str:
def _anthropic_token_or_raise() -> str:
from agent.anthropic_adapter import resolve_anthropic_token
from agent.anthropic_credentials import resolve_anthropic_token
token = resolve_anthropic_token()
if not token:
raise AuthError(_NO_ANTHROPIC_CREDENTIALS_MSG)