feat: improve error handling
This commit is contained in:
@ -36,6 +36,9 @@ export function generateFeedback({
|
||||
model: useAiModel(),
|
||||
system: systemPrompt(),
|
||||
prompt,
|
||||
onError({ error }) {
|
||||
throw error
|
||||
},
|
||||
})
|
||||
|
||||
return parseStreamingJson(
|
||||
|
Reference in New Issue
Block a user