oMLX 0.7.1.dev1 (jundot/omlx#4315) serves decision models at POST
/v1/systemone. Its /v1/models lists them among the chat models with
nothing to mark them, by the alias the user gave one. Its
/v1/models/status (same key) gives each model's model_type, which is
"decision" for these. oMLX finds that from the checkpoint's files, so
the folder's name needn't say "clef" or "openjev". A name rule would
miss an aliased OpenJev, so magpie reads the status list instead.
- The omlx preset has a decision base, http://localhost:8000/v1. An oMLX
provider saved before this gets its chat base as one, at whatever port
it was given (the same backfill Zen and OpenRouter got).
- omlxDecides joins listsDecisions. fetchDecide reads
/v1/models/status and keeps the decision models under <id>.decisions,
each by its alias where it has one. It leaves out the ones the user hid
in oMLX and keeps the window oMLX serves. Clef and OpenJev both read
images, so ImageInput is set.
- DecidesModel then takes them out of the agents' lists and offers them
as deciders. Jev() is the first of them. A server with none (or an
older oMLX) lists none, and no Jev alias is made up for it.
Run:
- TestOMLXDecisionModels: the fake answers with get_status's real fields.
Clef-Flash by name and OpenJev under the alias "router" are deciders,
the hidden Clef isn't, the chat model alone reaches agents, and
RouteDecider plus AskSystemOne post "router" to /v1/systemone. Red
with omlxDecides taken out of listsDecisions.
- TestOMLXWithoutDecisionModels: no decision model means none, not Jev.
- go test ./internal/provider, gofmt, linux and windows vet.
Not tried: a real oMLX 0.7.1.dev1 with a Clef checkpoint (no Apple-silicon
oMLX install here). The fixture follows the server's source at the
v0.7.1.dev1 tag, not captured bytes.