pub async fn complete_ai(
configuration: &Configuration,
workspace: &str,
complete_ai_request: CompleteAiRequest,
) -> Result<CompleteAi200Response, Error<CompleteAiError>>Expand description
Sends a system and a user message to the configured provider and returns the text of the answer, with no tools and no streaming. For callers that do not speak a provider’s own API through the proxy, such as the CLI and jobs.