Expose chat-latest and default Quick Question to it
TestFlight / Build and upload (push) Successful in 1m54s

This commit is contained in:
2026-10-02 13:56:44 -07:00
parent 14191de8f4
commit 411a8cebc7
11 changed files with 132 additions and 15 deletions
+8
View File
@@ -1,5 +1,13 @@
import type { Provider } from "./api";
export const QUICK_QUESTION_DEFAULT_MODEL = "chat-latest";
export function pickQuickQuestionModel(provider: Provider, options: string[], preferred: string | null = null) {
if (preferred?.trim()) return preferred.trim();
if (provider === "openai") return QUICK_QUESTION_DEFAULT_MODEL;
return options[0] ?? "";
}
export function buildQuickQuestionRequest({
provider,
model,