regenerate OpenAPI spec and add model selection components

This commit is contained in:
Chris Scott committed 2026-01-10 18:39:12 -05:00
1 parent 9ed292af2a
commit 17ee96d316
12 files changed
+10266 -3453

No files matched your search

+2 -3
View File
@@ -61,8 +61,7 @@ export const useSessionStatus = create<SessionStatusStore>((set, get) => ({
}))
export const useSessionStatusForSession = (sessionID: string | undefined): SessionStatusType => {
const status = useSessionStatus((state) =>
sessionID ? state.statuses.get(sessionID) : undefined
return useSessionStatus((state) =>
sessionID ? (state.statuses.get(sessionID) ?? DEFAULT_STATUS) : DEFAULT_STATUS
)
return status || DEFAULT_STATUS
}