类 AnthropicConversationMerger
java.lang.Object
io.agentscope.core.formatter.anthropic.AnthropicConversationMerger
Merges multi-agent conversation messages into a formatted conversation history for Anthropic
API.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
AnthropicConversationMerger
public AnthropicConversationMerger()
-
-
方法详细资料
-
mergeConversation
Merge conversation messages into formatted blocks with history tags.- 参数:
messages- List of conversation messagesconversationHistoryPrompt- Prompt text to prepend- 返回:
- List of content blocks (text and images)
-