Expired50% confidenceFactTime unknown
In OpenAI's and Anthropic's API designs, the messages array is an ordered list of conversation history where each message contains a role (user/assistant/tool) and content field
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026(expired)
Sources
SubAgent Architecture: The Core Implementation for Context Isolation
bilibili日新月异max
Related Claims
UnverifiedIn mainstream APIs such as OpenAI, each call requires passing the complete message history (messages), including messages from roles such as system, user, and assistant.78% similarUnverifiedOpenAI uses a conversation format centered on a messages array and specifies the model via the model field.77% similarVerifiedIn the OpenAI Function Calling or LangChain Tool calling specification, context feed-back corresponds to inserting messages with the tool role into the messages list76% similarUnverifiedMainstream large language model APIs differ significantly in message format: Anthropic uses a messages array structure with a special system prompt separation approach, while OpenAI uses role/content key-value pairs and supports the function calling format.75% similarUnverified在OpenAI和Anthropic的API设计中,每一次工具调用会产生至少两条新消息(调用请求+执行结果)75% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/56416API
curl https://kongchang.com/api/v1/knowledge/claims/56416MCP
get_claim(id=56416)