跳到正文
原文
Simon Willison·· 21 天前AI 评分35

Anthropic 0.30 版本更新:Claude Sonnet 5.5 及 Anthropic 模型刷新功能

llm-anthropic 0.30

AI 导读

Anthropic 0.30 版本更新,新增 Claude Sonnet 5.5 和直接从 API 刷新 Anthropic 模型列表的功能,无需发布新版本即可支持新模型;同时新增 llm anthropic count 命令,可使用免费 token 计数 API 在发送提示词前返回所需 token 数量。

原文

In addition to Claude Sonnet 5.5, this release adds the ability to run llm anthropic refresh to refresh the list of Anthropic models directly from their API - which means I don't need to push a new release just to add support for a newly released model.

I also added an llm anthropic count command which can use their free token counting API to return a count of tokens that will be used by any prompt, before you send that prompt.

来源:Simon Willison · simonwillison.net