feat: pick the room model from a catalog dialog

The room model was a free-text field. It now opens a dialog that lists the provider's live catalog through the same adapter a turn uses, with context, output, price, and vision from models.dev. Rows filter by text, vision, or free price, and a custom id remains available when the provider lists nothing.

The dialog is nested over room settings, so BaseDialog now gives Escape and the focus trap to the top dialog only. Clearing the model stores NULL, which returns the room to the provider's default.
This commit is contained in:
vhaudiquet committed 2026-11-28 17:21:48 +01:00
1 parent 2d36790fe1
commit 2216f37422
13 files changed
+724 -20

No files matched your search

+3
View File
@@ -665,6 +665,9 @@ This repository, as committed:
- Rooms with members, a per-room provider config, a sandbox target, a
workspace, an optional repository URL, and an owner-only model and
provider switch.
- A model picker over the provider's live catalog, with context,
output, price, and vision from the adapter and models.dev. A custom
id is always accepted.
- One conversation per room, a `@rhema` mention starts a turn, human
messages are stamped with their author's name, and only the `message`
tool puts agent text in the room.