Skip to main content

chat_completion

Function chat_completion 

Source
pub fn chat_completion(
    system: &str,
    user: &str,
    schema_hint: Option<&str>,
) -> Result<Value, CliError>
Expand description

Call chat completions with retry/backoff (one-shot; no daemon).