providers/openai_compatible library

Functions

openAICompatibleResponseFormat(ResponseFormat format) → Map<String, dynamic>
Translates a ResponseFormat into the OpenAI-compatible response_format payload used by OpenAI, DeepSeek and Mistral.