Skip to main content

chat_async

Function chat_async 

Source
pub async fn chat_async(
    config: &ProviderConfig,
    messages: &[ChatMessage],
) -> Result<String, Error>
Expand description

Send an async chat request. Retries on 503 with exponential backoff.