程序包 io.agentscope.core.formatter.anthropic
package io.agentscope.core.formatter.anthropic
-
类类说明Abstract base formatter for Anthropic API with shared logic for handling Anthropic-specific requirements.Formatter for Anthropic Messages API.Merges multi-agent conversation messages into a formatted conversation history for Anthropic API.Handles media content conversion for Anthropic API.Converts AgentScope Msg objects to Anthropic SDK MessageParam types.Multi-agent formatter for Anthropic Messages API.Parses Anthropic API responses (both streaming and non-streaming) into AgentScope ChatResponse objects.Helper class for tool registration and option application for Anthropic API.