跳到正文
ClaudeDevs· @ClaudeDevs · X·· 5 小时前AI 评分65
AI 导读

Anthropic 宣布 Message threads 在 Messages API 中开启公测,引入服务端会话缓存能力。API 会在轮次间缓存服务端对话,开发者无需重复发送完整对话历史,只需发送新消息和上一条消息 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