待验证50% 置信事实精确时间
Anthropic 的 Claude API 要求 system prompt 作为独立顶层字段与 messages 数组并列,不允许混入对话流
1
来源数
50%
置信度
长期有效
时效性
2026/7/7
首次发现
来源
Kontext:一键迁移AI对话上下文,打破多模型切换壁垒
hackernewshackernews2026/7/3
相关事实
待验证Anthropic Claude 将 system 字段独立于 messages 之外作为顶层参数传入,而 OpenAI 将系统提示作为 messages 数组中 role=system 的一条消息71% 相似待验证Anthropic使用Messages API并引入了独特的system prompt处理方式70% 相似待验证Anthropic's Messages API uses a separate 'system' field for system prompts and explicitly distinguishes 'user' and 'assistant' roles in the message body.69% 相似待验证该方案将任务完成通知推送到单独的群组而非主对话窗口,以避免打乱主Agent的上下文68% 相似待验证Anthropic 的 Messages API 将 system 消息作为独立的顶层参数传递,而非放在 messages 数组中;工具调用使用 tool_use 和 tool_result content block 类型。68% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/195024API
curl https://kongchang.com/api/v1/knowledge/claims/195024MCP
get_claim(id=195024)