Skip to content

Decouple model protocols with an embedded third-party translator - #194

Merged
SaladDay merged 3 commits into
mainfrom
codex/model-protocol-translation-20260928
Sep 28, 2026
Merged

SaladDay merged 3 commits into
mainfrom
codex/model-protocol-translation-20260928

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Allow the execution engine and model-provider protocol to be selected independently. Core freezes one provider bundle; Runtime uses a native connection where supported, otherwise embeds the pinned CLIProxyAPI translator through a thin loopback adapter. Protocol fields, tool mappings, reasoning and usage conversion remain owned by the dependency. The existing Session Executor owns endpoint cleanup.

The console and generated contracts accept Anthropic Messages, OpenAI Responses and Chat Completions for all three engines. MiniMax Code uses its existing native support. Historical provider-option readers are removed; there is no migration or data deletion. Library limitations and measured dependency costs are documented.

Validation: repository make check server gate passed; the full browser suite uses the existing approved exclusion, with all 3 affected console browser cases separately passing. Focused race tests and independent blind review passed. All 9 real MiniMax-M2.7 engine/protocol combinations passed their documented scenarios: Claude/Codex include multiple function rounds, error results, streaming, cancel/continue and restart recovery; MiniMax Code covers native context/restart. No full deployment or vision-model qualification is claimed.

Based on main after #193. The latest Session Executor fixes are integrated; all three adapter packages, dispatch, model transport, harness configuration and v1 contract tests passed again after integration. Detailed coverage and limits: contracts/agents-api/model-protocol-qualification.md and model-protocol-conversion.md.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@SaladDay
SaladDay changed the base branch from codex/session-executor-reuse-20260928 to main September 28, 2026 16:44
@SaladDay
SaladDay merged commit 888c5d5 into main Sep 28, 2026
3 checks passed
@SaladDay
SaladDay deleted the codex/model-protocol-translation-20260928 branch October 7, 2026 06:38
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