Add a new provider type "anthropic-compatible" to support Anthropic API
variants that use array format for the system field instead of string.
Changes:
- Add AnthropicCompatible to ApiProviderType enum (backend)
- Add AnthropicCompatible to Agent ProviderType enum
- Modify AnthropicProtocol to support array system format
- Add provider type selector in ProviderConfigForm for custom providers
- Update icon mappings to show Claude icon for anthropic-compatible
- Update model registry mappings to show Anthropic models
This allows users to connect to Anthropic-compatible proxies (like One API)
that expect the system field in array format:
{"system": [{"type": "text", "text": "..."}]}
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add updateProviderEnvVars function to sync Claude Code env vars
- Improve API Server page with provider selection and env var updates
- Update codex provider with better error handling
- Fix provider pool service credential lookup
- Format UI components with Prettier
- Fix test files for custom_models field
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 将 Linux ARM64 平台从 ubuntu-22.04 改为 ubuntu-22.04-arm
- 简化 Linux 依赖安装步骤,移除交叉编译配置
- 修复测试文件编译错误
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>