Skip to content

[Bug] Command Code typesafe/jev-1.14.0 is exposed as a chat model and every chat request fails with 403 #8997

Closed

Description

@rafaelmoreiraai

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.ts already recognises jev / systemone names; or
  • (b) chat requests to it fail fast with a clear "decision model — use /v1/systemone or a JEV combo" error instead of an opaque provider 403.

Reproduction

  1. Command Code provider configured with the default adapter (adapter: command-code, baseUrl: https://api.commandcode.ai) on an account whose plan includes JEV.
  2. ocx models --json lists the model alongside chat models:
    {"provider":"command-code","model":"typesafe/jev-1.14.0","contextWindow":32768,"inputModalities":["text"],"reasoningEfforts":[]}
  3. 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}'
  4. Observe HTTP 403 permission_denied — "The provider denied access to this request." Same result with the alias CC-jev-1.14.0.
  5. On 2.100.4, POST /v1/responses with 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
  6. Control — same account and key, called directly (not through the proxy):
    • POST https://api.commandcode.ai/provider/v1/systemone with {"model":"typesafe/jev-1.14.0","state":{...},"questions":{"q":{"type":"noul",...}}} → 200, answers.q.noul numeric. 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:

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcatalogprovider

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions