跳到正文
Simon Willison·· 2026-10-19

llm-echo 0.5

llm-echo 0.5

中文摘要

发布:llm-echo 0.5 我正在为新的LLM发布版本做准备,测试PR时让我重新审视了llm-echo调试插件。这个插件提供了一个“模型”,它完全不涉及LLM——它只是将输入的提示重复回来。新版本现在更新了模拟的token使用计数,以考虑工具调用、系统提示和推理token。示例用法:uvx --with llm-echo llm -m echo 'hi there' -o thinking 1 --usage 输出内容:首先我考虑提示,然后决定说什么。{ "prompt": "hi there", "system": "", "attachments": [], "stream": true, "previous": [] } token使用情况:2个输入,24个输出 标签:llm

英文原文

Release: llm-echo 0.5 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. Example usage: uvx --with llm-echo llm -m echo 'hi there' -o thinking 1 --usage Outputs: 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 Tags: llm

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Simon Willison · simonwillison.net