hiw3c 日报精选
Simon Willison 网页快照

llm-echo 0.5

原文标题 · llm-echo 0.5

版本:llm-echo 0.5 我正在准备一个新的LLM版本的发布,而测试相关的补丁让我重新考虑了一下llm-echo调试插件。这个插件提供了一个“模型”,但实际上并不涉及真正的LLM——它只是重复播放输入给它的提示语而已。在新版本中,模拟的令牌使用统计已经更新,可以考虑到工具调用、系统提示以及推理所需的令牌数量。使用示例:uvx --with llm-echo llm -m echo '嗨,你好

来源:Simon Willison · simonwillison.net

正文为英文,可一键机器翻译(仅首次需要等待)

Simon Willison’s Weblog

I'm working towards a new LLM release, and testing PRs caused me to revisit the llm-echo debug plugin. This plugin provides a "model" which doesn't involve an LLM at all - it just repeats back the prompts that have been fed to it. The new release now updates the simulated token usage counts to take tool calls, system prompts, and reasoning tokens into account.

uvx --with llm-echo llm -m echo 'hi there' -o thinking 1 --usage
First I consider the prompt, then I decide what to say. { "prompt": "hi there", "system": "", "attachments": [], "stream": true, "previous": [] } Token usage: 2 input, 24 output

Recent articles

Hello Python 3.15, goodbye 3.10, and now I can use 3.11 - 12th October 2026

A new feature for my blog, built using my voice - 9th October 2026

Claude Haiku 5.5 - 7th October 2026

We're going to need default hard budget caps on pretty much everything - 3rd October 2026

This is a beat by Simon Willison, posted on 18th October 2026 .

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.