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

+4
View File
@@ -62,6 +62,8 @@ export interface RoomListResponse {
rooms: RoomSummary[]
}
export type ThinkingEffort = 'default' | 'low' | 'medium' | 'high'
export interface Room {
id: string
name: string
@@ -71,6 +73,7 @@ export interface Room {
workspace: string
repo_url: string | null
model: string | null
thinking_effort: ThinkingEffort
model_vision: boolean | null
max_turn_steps: number
created_at: number
@@ -123,6 +126,7 @@ export interface UpdateRoomBody {
provider_config_id?: string
model?: string
max_turn_steps?: number
thinking_effort?: ThinkingEffort
}
export interface UpdateRoomResponse {