Repository navigation
Added OpenAI-compatible proxy for Claude Code - #136
Merged
Merged
Conversation
…ough any OpenAI-compatible API provider - New OpenAI-compatible API connection type in profile settings - Internal HTTP proxy embedded in MCPSseServer (no new port) with per-session UUID routing - AnthropicToOpenAITranslator: full bidirectional translation including streaming SSE, tool use, thinking/reasoning_content blocks, and error normalization - Profile proxy settings (system/none/custom) applied to outbound OpenAI requests - Renamed Other API → Claude-compatible API, OpenAI Compatible Proxy → OpenAI-compatible API - 20 unit tests for AnthropicToOpenAITranslator with JSON fixtures - User manual, README, CLAUDE.md updated; testing guide added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r proxy→openaiproxy rename Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MCPSseServer(no new port); each session gets a unique UUID path for isolationAnthropicToOpenAITranslator: full bidirectional translation — requests (system prompt, tool use, tool results, multimodal, thinking/reasoning_content blocks), streaming SSE state machine, non-streaming responses, error normalization to Anthropic formatProxyConfigurationAnthropicToOpenAITranslatorwith JSON fixturesdocs/testing-openai-proxy-opencode-zen.mdadded with free-model testing guideTest plan
https://opencode.ai/zen, API key from opencode.aiclaude-sonnet-4-5→opencode/big-pickle(or other free model)mvn test— 20 translator tests + full suite pass🤖 Generated with Claude Code