Calls the MistralAI API with retry logic in case of failures.
completionWithRetry(
input: ChatCompletionStreamRequest,
streaming: true
): Promise<AsyncIterable<CompletionEvent, any, any>>| Name | Type | Description |
|---|---|---|
input* | ChatCompletionStreamRequest | The input to send to the MistralAI API. |
streaming* | true |