Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: release sent composer model choices across clients #18612

Closedbrandraft(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/18612/headopened View on GitHub

Showing 9 changed files with 72 additions and 6 deletions (loading 6).

x
0 of 9 viewed, 9 left
2 additions and 0 deletionsapps/mobile/src/state/thread-outbox-model.tsModified
View file
@@ -56,6 +56,7 @@
context: Schema.optional(OrchestrationMessageContext),
attachments: Schema.Array(DraftComposerAttachmentSchema),
modelSelection: Schema.optional(ModelSelection),
+ modelSelectionId: Schema.optional(Schema.String),
dispatchMode: Schema.optional(Schema.Literals(["auto", "queue", "steer", "restart"])),
runtimeMode: Schema.optional(RuntimeMode),
interactionMode: Schema.optional(ProviderInteractionMode),
@@ -88,6 +89,7 @@
readonly context?: OrchestrationMessageContext;
readonly attachments: ReadonlyArray<DraftComposerAttachment>;
readonly modelSelection?: ModelSelectionType;
+ readonly modelSelectionId?: string;
readonly runtimeMode?: RuntimeModeType;
readonly interactionMode?: ProviderInteractionModeType;
/**
69 additions and 6 deletionsapps/mobile/src/state/use-composer-drafts.tsModified
View file
@@ -24,6 +24,7 @@
import { Atom } from "effect/reactivity";
​
import { writeFileAtomically } from "../lib/atomic-file";
+import { scopedThreadKey } from "../lib/scopedEntities";
import { createComposerContextHistory, referencedComposerContext } from "../lib/composerContext";
import { isQueuedEditDraftKey } from "./queued-edit-draft-key";
import {