Repository navigation
Closed
Description
Client or integration
Direct HTTP/API client
Area
Provider adapter
Summary
command-code/typesafe/jev-1.14.0 is listed in the model catalog as an ordinary chat model, so clients (Hermes, Codex) offer it and route chat requests to it. Every such request fails with 403 permission_denied.
JEV is a System One decision model. Command Code serves it only at POST /provider/v1/systemone with the {model, state, questions} contract, not at /alpha/generate, which is where the command-code adapter sends chat traffic.
Expected: either
- (a) the model is not offered as a chat model — the catalog marks it as a decision model, the way
src/server/management/decision-discovery.tsalready recognisesjev/systemonenames; or - (b) chat requests to it fail fast with a clear "decision model — use
/v1/systemoneor a JEV combo" error instead of an opaque provider 403.
Reproduction
- Command Code provider configured with the default adapter (
adapter: command-code,baseUrl: https://api.commandcode.ai) on an account whose plan includes JEV. ocx models --jsonlists the model alongside chat models:
{"provider":"command-code","model":"typesafe/jev-1.14.0","contextWindow":32768,"inputModalities":["text"],"reasoningEfforts":[]}- Send a chat request through the proxy:
curl -s http://127.0.0.1:10100/v1/chat/completions \ -H "x-opencodex-api-key: <redacted>" -H 'Content-Type: application/json' \ -d '{"model":"command-code/typesafe/jev-1.14.0","messages":[{"role":"user","content":"ping"}],"max_tokens":8}'
- Observe
HTTP 403permission_denied— "The provider denied access to this request." Same result with the aliasCC-jev-1.14.0. - On 2.100.4,
POST /v1/responseswith the same model surfaced the underlying provider error, showing the request reached/alpha/generate, which does not serve JEV:
Model/provider not recognized: anthropic:typesafe/jev-1.14.0 - Control — same account and key, called directly (not through the proxy):
POST https://api.commandcode.ai/provider/v1/systemonewith{"model":"typesafe/jev-1.14.0","state":{...},"questions":{"q":{"type":"noul",...}}}→200,answers.q.noulnumeric. The model works on its real endpoint.- Same endpoint with a chat model id →
400 unsupported_model: Use one of: typesafe/jev, typesafe/jev-1.14.0.This confirms the endpoint is decision-only and JEV is decision-only.
Version
@bitkyc08/opencodex 2.100.5 (reproduced 2026-11-20); first observed on 2.100.4 (2026-11-18).
Operating system
Ubuntu, Linux 6.8.0 (VPS)
Provider and model
command-code / typesafe/jev-1.14.0 (also typesafe/jev)
Logs or error output
# 2.100.5, /v1/chat/completions
model=command-code/typesafe/jev-1.14.0 -> http=403 permission_denied | The provider denied access to this request.
model=CC-jev-1.14.0 -> http=403 permission_denied | The provider denied access to this request.
# 2.100.4, /v1/responses
Provider error 403: {"success":false,"error":{"code":"FORBIDDEN","status":403,"message":"Model/provider not recognized: anthropic:typesafe/jev-1.14.0"}}
Screenshots and supporting files
No response
Redacted configuration
{
"providers": {
"command-code": { "adapter": "command-code", "baseUrl": "https://api.commandcode.ai", "apiKey": "<redacted>" }
}
}Notes for maintainers:
decision-discovery.tsalready hasDECISION_MODEL_HINT(jev|systemone|system-one|decision) andsystemOneEndpoint(). The catalog path that builds chat rows forcommand-codedoes not consult it, so a decision model ends up as a chat row.- Workaround in use: disable the row (
ocx models disable) and call JEV through a small local router that posts to/provider/v1/systemonedirectly. - Possible fix direction (not a PR): when a
command-coderow matchesDECISION_MODEL_HINT, omit it from chat surfaces, or expose it only as a JEV combo target viasystemOneEndpoint(baseUrl + "/provider/v1"). - Related but distinct: [Bug] JEV Combo remains unavailable after quota recovery despite a healthy main account #8880 (JEV combo unavailable after quota), [Feature]: Dynamic Model Selection and Smart Routing via TypeSafe Jev #5626, [Feature]: Support self-hosted JEV-compatible decision endpoints #6268.
Checks
- I searched existing issues and documentation.
- I removed secrets, tokens, account details, request credentials, and personal data.
Activity
fix(command-code): refuse decision models before sidecars and let com…
fix(command-code): align decision-model matching, skip policy candida…
fix(command-code): fold slashes so encoded slugs of hidden ids are re…
docs(es): mirror the Command Code decision-model note in the Spanish …
test(responses): register command-code-decision-refusal in the core m…
fix(command-code): refuse decision models before transport preparation (
test(command-code): correct the expired-credential comment (#8997)
test(command-code): assert the expired credential is left untouched b…
fix(command-code): keep System One decision models off chat surfaces (#…