ccproxy.plugins.claude_api¶
ccproxy.plugins.claude_api
¶
Claude API provider plugin.
This plugin provides direct access to the Anthropic Claude API with support for both native Anthropic format and OpenAI-compatible format.
ClaudeAPIFactory
¶
Bases: BaseProviderPluginFactory
Factory for Claude API plugin.
Source code in ccproxy/core/plugins/factories.py
create_detection_service
¶
Create detection service and inject it into task kwargs.
Ensures the scheduled detection-refresh task uses the same instance that the runtime receives via context.
Source code in ccproxy/plugins/claude_api/plugin.py
ClaudeAPIRuntime
¶
Bases: ProviderPluginRuntime
Runtime for Claude API plugin.