Repository navigation
Description
Problem or Motivation
Every Jev call of src/devops_cli/ai/jev.py (PR #4275) fails when the model is served through the LLM gateway. Evidence from a live check on 2026-11-09, through a port-forward to svc/llm-gateway, with the gateway key and no other credential:
SystemOneModelposts to{ai.gateway_url}/systemone.POST /v1/systemoneon the gateway answered HTTP 404{"detail":"Not Found"}. The OpenAPI document of the gateway (637 paths) lists nosystemoneand nodecisionspath.POST /v1/chat/completionswith the modeltypesafe/jev-1.14answered HTTP 400. The text came from OpenRouter through LiteLLM: "typesafe/jev-1.14 is a decisions model and cannot be used with the chat/completions endpoint. Use the /api/alpha/decisions endpoint instead."k8s/llm/gateway/config.yamlmapstypesafe/jev-1.14toopenrouter/typesafe/jev-1.14, which LiteLLM serves only as a chat model. The gateway test of health passes because the model is listed, but no request of the Decisions protocol can pass.
So route_with_jev, judge_with_jev, gate_tool_call_with_jev, select_skill_with_jev and filter_rag_passages_with_jev cannot run live through the gateway. The planned uses of Jev in the roadmap Service (#4282, #4284) wait for this.
Expected
One route serves the Decisions protocol to the Service and to the CLI. A person decides which: (a) a pass-through in the gateway from /v1/systemone to the Decisions API of the provider, if the wire formats match (they are not proven to match: OpenRouter names /api/alpha/decisions, the pydantic-ai client uses /v1/systemone); (b) the TypeSafe API (CONST_URL_TYPESAFE_API_BASE) with its own key in the keyring and an egress rule; (c) drop Jev.
Acceptance criteria
- A live check, for example
uv run devops ai gateway probe-backendor a new probe, sends oneDecisionRequestwith one Noul question to Jev and gets an answer. Today it fails with HTTP 404. uv run devops ci test tests/ai/test_jev_gateway_route.pypasses. It checks that the route of the settingai.gateway_urlends in a path that the configured server serves forSystemOneModel. It fails today.docsname the route and the key.
Existing tool considered
LiteLLM has no System One route. pydantic-ai SystemOneProvider takes any base URL, so a pass-through or the direct TypeSafe API needs no new client.
Cost
A gateway change or a key is a host and secret change, so a person does it. The code change is small once the route exists.
Activity
dan-petty commentedon Nov 9, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(ai)scope of the title gives the scope.It blocks planned Jev features (#4282, #4284) but a direct API workaround exists.It unblocks five Jev functions and two roadmap items that depend on the Decisions protocol.The code change is small, but it needs a key, an egress rule, and a person to choose the approach.Both add a hosted model to the gateway config, but #3113 serves a chat model while this needs a Decisions protocol route.devops-cli-service commentedon Nov 10, 2026
Released in v0.103.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.103.2
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 01:00 UTC