mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 21:30:17 +08:00
50cbb3be12
Post-merge cleanup from a simplify review pass on the phase 1-4 OpenCode/OpenClaw changes. - Rename check_once_opencode_like → check_once_without_adapter. The new name directly expresses the intent (bypass get_adapter) instead of suggesting the function is somehow "like" OpenCode. - Drop two "Phase 4 会美化错误消息" phase-history markers from docstrings; git history is the right place for them. - Document in resolve_opencode_base_url why its default endpoints cannot be merged with ProviderType::default_endpoint(): the former encode AI SDK package defaults (e.g. @ai-sdk/openai ships with the /v1 suffix) while the latter encode proxy upstream hosts. They happen to overlap but are two independent truth sources.