Add ToolReferenceChunk, ToolFileChunk, BuiltInConnector enum, ReferenceID union type (int|string), GuardrailConfig with v1/v2 moderation, ConnectorTool for custom connectors, and guardrails field on chat/agents/conversation requests. Add AudioTranscriptionRealtime and AudioSpeech to ModelCapabilities. Move GuardrailConfig from agents/ to chat/ as shared base type. Remove bundled OpenAPI spec; SDK now tracks upstream Python SDK. BREAKING: ReferenceChunk.ReferenceIDs changed from []int to []ReferenceID. Use IntRef(n) / StringRef(s) constructors.
11 lines
415 B
Go
11 lines
415 B
Go
// Package agents provides types for the Mistral agents API,
|
|
// including agent CRUD operations and agent chat completions.
|
|
//
|
|
// # Tool Types
|
|
//
|
|
// Agents support multiple tool types via the [AgentTool] sealed interface:
|
|
// [FunctionTool], [WebSearchTool], [WebSearchPremiumTool],
|
|
// [CodeInterpreterTool], [ImageGenerationTool], [DocumentLibraryTool],
|
|
// and [ConnectorTool] for custom connectors.
|
|
package agents
|