MCPcopy
hub / github.com/the-open-agent/openagent / MistralModelProvider

Struct MistralModelProvider

model/mistral.go:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type MistralModelProvider struct {
27 client *mistral.MistralClient
28 modelName string
29 secretKey string
30}
31
32func NewMistralProvider(apiKey, modelName string) (*MistralModelProvider, error) {
33 client := mistral.NewMistralClientDefault(apiKey)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected