← Back to PRs

#14035: Feature: Implement EU compliant gateway Cortecs

by LeonChristoefl open 2026-02-11 10:37 View on GitHub →
docs cli commands agents stale
### Integrating Cortecs Gateway This pull request integrates the GDPR-compliant router [cortecs](https://cortecs.ai/), which supports all major European providers, including OVHCloud, Scaleway, Ionos, Mistral, and more. As suggested in #10419, natively supporting EU-providers would be beneficial. ### Implementation The implementation closely follows that of the other OpenAI-compatible providers. The tests ran without issues. In addition, the integration was tested with all models manually. Our API was configured to filter for OpenClaw-compatible models, so they can be fetched properly within the system. <img width="662" height="934" alt="image" src="https://github.com/user-attachments/assets/52949e87-f7b5-491c-848d-603ba8a66322" /> <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR adds first-class support for the Cortecs EU/GDPR-compliant gateway as an OpenAI-compatible provider. It introduces Cortecs model discovery (`src/agents/cortecs-models.ts`), wires `CORTECS_API_KEY` into auth resolution and implicit provider detection, and extends the onboarding/auth-choice flows (interactive and non-interactive) to configure Cortecs and set a default `cortecs/gpt-oss-120b` model. Documentation is updated to list Cortecs and provide setup instructions. Overall, the change follows existing provider patterns (Venice/Synthetic/etc.) and integrates at the expected seams: env var auth mapping, implicit providers, onboarding option plumbing, and model compatibility normalization for OpenAI-completions providers. <h3>Confidence Score: 4/5</h3> - Mostly safe to merge once the remaining debug output is removed. - Integration is localized and follows existing provider/onboarding patterns, with model discovery guarded in tests and auth wiring consistent with other providers. The main merge blocker spotted is a stray `console.log` added to the Venice config path, which will produce noisy output in normal CLI runs and may expose configuration details. - src/commands/onboard-auth.config-core.ts <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> <!-- /greptile_comment -->

Most Similar PRs