Repository navigation
Decouple model protocols with an embedded third-party translator - #194
Merged
Merged
Conversation
…del-protocol-translation-20260928
SaladDay
changed the base branch from
codex/session-executor-reuse-20260928
to
main
September 28, 2026 16:44
…translation-20260928
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 checkserver 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.mdandmodel-protocol-conversion.md.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.