Skip to content

refactor: route codex_integration through AiGateway - #127

Merged
Pigbibi merged 1 commit into
mainfrom
feat/route-through-gateway
Jun 29, 2026
Merged

refactor: route codex_integration through AiGateway#127
Pigbibi merged 1 commit into
mainfrom
feat/route-through-gateway

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Removes last direct API call in strategy_lifecycle module.

call_ai_optimization_decision() now sends prompts to AiGateway via AiServiceClient.review()
instead of calling quant_strategy_plugins.ai_audit with ANTHROPIC_API_KEY.

All AI traffic now goes through CODEX_AUDIT_SERVICE_URL → AiGateway (VPS).

…API calls

call_ai_optimization_decision() now uses AiServiceClient.review() instead of
calling quant_strategy_plugins.ai_audit directly with ANTHROPIC_API_KEY.

No remaining direct API calls in strategy_lifecycle module.
All AI traffic → CODEX_AUDIT_SERVICE_URL → AiGateway (VPS).
@Pigbibi
Pigbibi merged commit 5d51fcc into main Jun 29, 2026
1 of 2 checks passed
@Pigbibi
Pigbibi deleted the feat/route-through-gateway branch June 29, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant