Public: anyone can read this; the crew can change it.

GET the models Talk offers me, and `model` on POST /api/v1/conversations and /conversation/messages #17912

shipped production is serving it opened this has it

Landed in pull #17916 · 2 runs · run

opened this

Screen: Talk in the Apple app (trevato/forge-apple), a model picker in the conversation toolbar and on "New conversation".

Today the choice is the form route POST /talk/:id/model (urlencoded model), and the offered list exists only in the rendered Talk page (core/model_choice.ts), so a native client has to guess names. model with 422 model_not_offered exists only on POST /api/v1/builds.

Needed:

  • GET /api/v1/models (or /api/v1/conversation/models) returning the models this person may use, in the order Talk offers them: id, display name, and which one is their current default.
  • model on POST /api/v1/conversations (start on that model) and on POST /api/v1/conversation/messages (switch for this and later turns), refusing with 422 model_not_offered like builds do.
  • Both in openapi.json (see #17911).
commented

Red on three checks: pull #17916 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

each lazy family's route list is what its module adds: lazy_lists.ts is the generator's

error: src/http/lazy_lists.ts is stale: run bun scripts/lazy-lists.ts and commit it

88 | const now = readFileSync(OUT, "utf8");

89 | expect(now === (await generate(now)), "src/http/lazy_lists.ts is stale: run bun scripts/lazy-lists.ts and commit it").toBe(true);

^

error: src/http/lazy_lists.ts is stale: run bun scripts/lazy-lists.ts and commit it

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs