room: add a per-room thinking effort
ci / checks (push) Successful in 52s
ci / test (push) Successful in 1m9s
ci / chart (push) Successful in 6s
ci / web (push) Successful in 19s
ci / docker (push) Successful in 2m0s
ci / publish-edge-image (push) Successful in 12s
ci / publish-edge-chart (push) Successful in 4s

Every turn sent ThinkingEffort::Default, so a room could not ask
for more or less reasoning. The owner now picks default, low, medium,
or high in room settings. An existing database gains the column with
a default of 'default', which sends no effort parameter and leaves
the provider's choice alone.
This commit is contained in:
vhaudiquet committed 2026-12-02 19:20:28 +01:00
1 parent 0a3c7b7b45
commit 1289f5f0c2
7 files changed
+118 -6

No files matched your search

+3 -2
View File
@@ -57,6 +57,7 @@ A room holds:
| sandbox_target | the owner's ssh target |
| provider_config | whose model key pays |
| model | model id chosen for this room |
| thinking_effort | reasoning level the turn sends: default, low, medium, high |
| max_turn_steps | runaway guard, default 48 |
| created_at, archived_at | |
@@ -623,8 +624,8 @@ provider_configs(id, account_id, name, kind, model, base_url, key_ciphertext)
sandbox_targets(id, account_id, name, host, user, port, key_ciphertext,
workspace_root, host_key, created_at)
rooms(id, name, owner_id, workspace, cwd, sandbox_target_id,
provider_config_id, model, max_turn_steps, absorbed_seq,
created_at, archived_at)
provider_config_id, model, thinking_effort, max_turn_steps,
absorbed_seq, created_at, archived_at)
members(room_id, id, account_id, display_name, role, color, guest_token_hash,
joined_at)
invites(token_hash, room_id, role, created_by, expires_at, max_uses, uses)