fix: sync with the error handling

This commit is contained in:
ManishMadan2882
2024-08-23 17:58:57 +05:30
parent 8637397c86
commit 232b36d4ae
2 changed files with 15 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ export function fetchAnswerStreaming({
history: JSON.stringify(history),
conversation_id: conversationId,
model: 'default',
apiKey:apiKey
api_key:apiKey
};
fetch(apiHost + '/stream', {
method: 'POST',