Problem
Command Code exposes one model catalog, but Claude requires /messages while other models use /chat/completions. In #4943, one fixed adapter cannot serve both: sending Claude to Chat Completions returns HTTP 400 (verified).
Maka has per-model routing for some providers, but providers absent from models.dev lack a general way to declare it. See Command Code's API documentation.
Desired outcome
One connection and credential can serve models using different supported protocols. Model discovery and execution agree on the protocol, endpoint, and reasoning replay behavior through the existing runtime resolver, with regression coverage for both Chat Completions and Anthropic Messages.
Alternatives or workarounds
Use separate connections for each protocol, or expose only models supported by one protocol. Both limit a provider's unified catalog.
Related: #4943, #1339.
Problem
Command Code exposes one model catalog, but Claude requires
/messageswhile other models use/chat/completions. In #4943, one fixed adapter cannot serve both: sending Claude to Chat Completions returns HTTP 400 (verified).Maka has per-model routing for some providers, but providers absent from models.dev lack a general way to declare it. See Command Code's API documentation.
Desired outcome
One connection and credential can serve models using different supported protocols. Model discovery and execution agree on the protocol, endpoint, and reasoning replay behavior through the existing runtime resolver, with regression coverage for both Chat Completions and Anthropic Messages.
Alternatives or workarounds
Use separate connections for each protocol, or expose only models supported by one protocol. Both limit a provider's unified catalog.
Related: #4943, #1339.