Files
CyberStrikeAI/internal/multiagent
donnel 4442e7de30 feat: add Claude API bridge - transparent OpenAI-to-Anthropic protocol conversion
When provider is set to "claude" in config, all OpenAI-compatible API calls
are automatically bridged to Anthropic Claude Messages API, including:

- Non-streaming and streaming chat completions
- Tool calls (function calling) with full bidirectional conversion
- Eino multi-agent via HTTP transport hook (claudeRoundTripper)
- System message extraction, auth header conversion (Bearer → x-api-key)
- SSE stream format conversion (content_block_delta → OpenAI delta)
- TestOpenAI handler support for Claude connectivity testing

Zero impact when provider is "openai" or empty (default behavior unchanged).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:45:35 +08:00
..
2026-03-23 02:37:45 +08:00
2026-03-23 21:56:05 +08:00
2026-04-09 20:15:07 +08:00
2026-04-09 20:15:07 +08:00
2026-04-08 18:14:22 +08:00