类 OpenAIChatFormatter

所有已实现的接口:
Formatter<OpenAIMessage,OpenAIResponse,OpenAIRequest>
直接已知子类:
DeepSeekFormatter, GLMFormatter, OpenAIMultiAgentFormatter

public class OpenAIChatFormatter extends OpenAIBaseFormatter
Formatter for OpenAI Chat Completion HTTP API. Converts between AgentScope Msg objects and OpenAI DTO types.

This formatter is used with the HTTP-based OpenAI client for standard OpenAI GPT models. It provides full support for:

  • All sampling parameters (temperature, top_p, penalties)
  • Tool calling with strict mode support
  • Full tool_choice options (auto, none, required, specific)