Add dedicated quick question API
TestFlight / Build and upload (push) Successful in 1m42s

This commit is contained in:
2026-08-27 19:31:23 -07:00
parent 5f9fc82b86
commit 922172fc60
13 changed files with 269 additions and 44 deletions
@@ -1162,13 +1162,11 @@ final class SybilViewModel {
let streamStatus = CompletionStreamStatus()
do {
try await client().runCompletionStream(
body: CompletionStreamRequest(
chatId: nil,
persist: false,
try await client().runQuickQuestionStream(
body: QuickQuestionStreamRequest(
provider: provider,
model: model,
messages: [CompletionRequestMessage(role: .user, content: prompt)]
question: prompt
)
) { [weak self] event in
guard let self else { return }