go-mistral

Unofficial Go client for the Mistral AI REST API, generated with oapi-codegen. mistral.NewClientWithResponses("https://api.mistral.ai", opts...) from github.com/psyb0t/go-mistral returns a *mistral.ClientWithResponses with one typed method per endpoint, named after the spec's operation IDs (ChatCompletionV1ChatCompletionsPostWithResponse, ListModelsV1ModelsGetWithResponse, EmbeddingsV1EmbeddingsPostWithResponse and more). Auth is a bearer API key set through mistral.WithRequestEditorFn; union fields such as message content use From... and As... methods. Use when Go code needs to call Mistral AI or already imports go-mistral.

Install

openclaw skills install @psyb0t/go-mistral