This commit is contained in:
hex2077 2025-08-06 23:02:46 +08:00
commit 0d7a4649bc

View file

@ -92,41 +92,36 @@ The project leverages various modern design patterns to ensure code maintainabil
```mermaid ```mermaid
graph TD
subgraph Core_Protocols
P_OPENAI(OpenAI Protocol)
P_GEMINI(Gemini Protocol)
P_CLAUDE(Claude Protocol)
end
subgraph Supported_Model_Providers graph TD
MP_OPENAI[openai-custom] subgraph Core_Protocols["核心协议"]
MP_GEMINI[gemini-cli-oauth] P_OPENAI[OpenAI Protocol]
MP_CLAUDE_C[claude-custom] P_GEMINI[Gemini Protocol]
MP_CLAUDE_K[claude-kiro-oauth] P_CLAUDE[Claude Protocol]
end end
subgraph Internal_Conversion_Logic subgraph Supported_Model_Providers["支持的模型提供商"]
direction LR MP_OPENAI[openai-custom]
P_OPENAI <-->|Request/Response Conversion| P_GEMINI MP_GEMINI[gemini-cli-oauth]
P_OPENAI <-->|Request/Response Conversion| P_CLAUDE MP_CLAUDE_C[claude-custom]
P_GEMINI <-->|Request/Response Conversion| P_CLAUDE MP_CLAUDE_K[claude-kiro-oauth]
end end
P_OPENAI ---|Supports| MP_OPENAI P_OPENAI ---|支持| MP_OPENAI
P_OPENAI ---|Supports| MP_GEMINI P_OPENAI ---|支持| MP_GEMINI
P_OPENAI ---|Supports| MP_CLAUDE_C P_OPENAI ---|支持| MP_CLAUDE_C
P_OPENAI ---|Supports| MP_CLAUDE_K P_OPENAI ---|支持| MP_CLAUDE_K
P_GEMINI ---|Supports| MP_GEMINI P_GEMINI ---|支持| MP_GEMINI
P_CLAUDE ---|Supports| MP_CLAUDE_C P_CLAUDE ---|支持| MP_CLAUDE_C
P_CLAUDE ---|Supports| MP_CLAUDE_K P_CLAUDE ---|支持| MP_CLAUDE_K
P_CLAUDE ---|Supports| MP_GEMINI P_CLAUDE ---|支持| MP_GEMINI
style P_OPENAI fill:#f9f,stroke:#333,stroke-width:2px
style P_GEMINI fill:#ccf,stroke:#333,stroke-width:2px
style P_CLAUDE fill:#cfc,stroke:#333,stroke-width:2px
style P_OPENAI fill:#f9f,stroke:#333,stroke-width:2px
style P_GEMINI fill:#ccf,stroke:#333,stroke-width:2px
style P_CLAUDE fill:#cfc,stroke:#333,stroke-width:2px
``` ```
--- ---