AI 导读
Anthropic 宣布 Messages API 的 Message threads 进入公开测试。服务器会在轮次之间缓存对话,开发者只需发送新消息和上一条消息 ID,无需重发完整对话,Claude 可以更快开始响应。
正文
Message threads are now in public beta on the Messages API.
The API caches your conversation on the server between turns, so instead of resending the full conversation, you send only new messages and the previous message ID, and Claude starts responding sooner.
来源:ClaudeDevs · x.com