feat: store the local settings

This commit is contained in:
Henry Li
2026-01-16 09:55:02 +08:00
parent cad12068ef
commit 3a62deb3fd
5 changed files with 86 additions and 12 deletions

View File

@@ -49,8 +49,8 @@ export function InputBox({
}: Omit<ComponentProps<typeof PromptInput>, "onSubmit"> & {
assistantId?: string | null;
status?: ChatStatus;
context: AgentThreadContext;
onContextChange?: (context: AgentThreadContext) => void;
context: Omit<AgentThreadContext, "thread_id">;
onContextChange?: (context: Omit<AgentThreadContext, "thread_id">) => void;
onSubmit?: (message: PromptInputMessage) => void;
onStop?: () => void;
}) {