chengkeen
chengkeen
# Write 工具执行期间 TUI 不显示流式进度,只能看到开始和结束 ## 问题描述 使用 `write` 工具写文件时,TUI 只能看到: 1. 工具调用参数流式生成完毕(`tool_execution_start`) 2. 工具执行结束、结果框一次性弹出(`tool_execution_end`) 中间**实际写文件的过程没有任何流式反馈**,给人的感觉是“写完之后结果一次性弹出来”。 > **注意**:模型在流式生成 `write` 的 JSON 参数时,内容预览会逐步增长。这个参数预览空白问题已在 #3881 修复。但 #3881 只修复了**参数生成阶段**的预览,没有修复**工具实际执行写盘阶段**的进度反馈。本 issue 针对的是后者。 ## 对比...
# `title-generator` fails with HTTP 400 on `kimi-code/kimi-for-coding` (Kimi K2.7 Code) `title-generator` falls back to `kimi-code/kimi-for-coding` (Moonshot `kimi-k2.7-code` / `kimi-k2.7-code-highspeed`) and returns: ``` 400 {"error":{"type":"invalid_request_error","message":"invalid thinking: only type=enabled is allowed...
# Tool streaming preview regression in ToolArgsRevealController **Date**: 2026-06-30 **Commit**: `68285aa9` (2026-06-29) — "fix(coding-agent): throttled tui tool argument parsing and updates" **Root cause commit**: `97862e66` (2026-06-11) — "feat(coding-agent): added streamed...
# WriteTool 长内容生成时流式预览一顿一顿的 用 `write` 工具生成文件时,前十几行还算连贯,一过十几行就开始一行一行、甚至一段一段地往外跳。PR #3965 虽然加了 `Writing … bytes to …` 的执行期提示,但内容真正在生成的这个阶段还是卡。 ## 根因 WriteTool 的内容在模型输出阶段走的是 `ToolArgsRevealController`,参数以 JSON 形式流过来。`displayArgsForPrefix` 会调用 `parseStreamingJsonThrottled` 把原始 JSON 解析成 `args` 对象,默认的 `minGrowthBytes` 是...
### Description `zhipu-coding-plan` 目前是 omp 的一等模型 provider,但内置 `web_search` 工具无法使用智谱中国凭证,而智谱官方其实提供了与国际端完全对等的搜索服务。 **现状(基于 main @ 969062200):** `web_search` 的 `zai` 搜索源硬编码了国际端点和凭证来源: ```ts // packages/coding-agent/src/web/search/providers/zai.ts const ZAI_MCP_URL = "https://api.z.ai/api/mcp/web_search_prime/mcp"; isAvailable(authStorage) { return authStorage.hasAuth("zai") || !!getEnvApiKey("zai");...
### What feature would you like to see? 描述: 在 Windows 终端中使用 Kimi Code 时,会话标签默认使用用户的第一条消息作为标签名。这在以下场景中显示效果很差: 1. 首条消息过长 —— 标签栏被撑宽,影响多标签切换体验; 2. 粘贴大段文本 —— 复制的代码或长文本没有标题结构,直接作为标签完全不可读。 建议方案(二选一): 1. 回退为 Windows 终端的默认标签名称,不做自定义覆盖; 2. 如需保留标签识别功能,先让大模型对用户首条消息做摘要总结,再以摘要内容显示。...
# [Bug] 通过 `/provider` 添加 DeepSeek 等模型后,自动写入的 `max_output_size` 导致 400 错误 **版本**: 0.7.0 **组件**: `packages/agent-core/src/session/provider-manager.ts` + `packages/kosong/src/providers/openai-legacy.ts` ## 问题描述 通过 `/provider` 命令添加 DeepSeek 后,kimi-code 会自动将模型目录中的 `max_output_size` 写入配置文件。但实际请求时会报 400 错误: ```...
# DeepSeek 模型使用 `openai-legacy` provider 时 `xhigh`/`max` thinking effort 被错误 clamp 为 `high` ## 问题描述 当用户配置了 DeepSeek 模型(`deepseek/deepseek-v4-flash`、`deepseek/deepseek-v4-pro` 等)并通过 `openai-legacy` adapter 使用时,`xhigh` 和 `max` 的 thinking effort 会被 `clampChatCompletionsReasoningEffort` 函数强行降级为...
# TUI 流式文本在 Kimi 模型下显示卡顿 / 一跳一跳的 ## 问题描述 在 `kimi-code` 的 TUI 中使用 **Kimi 模型** 时,助手回复的流式显示不够平滑,文字会明显“一跳一跳”地更新。同样的代码在 **DeepSeek 模型** 下就流畅很多。 同一个 Kimi 模型,在 [oh-my-pi](https://github.com/can1357/oh-my-pi) 的 TUI 中流式输出是流畅的。这说明卡顿不是 Kimi API 本身的问题,而是...
# `kimi-for-coding` 选 `max` thinking effort 会稳定触发 429 我这边用 `kimi-code/kimi-for-coding` 时,只要 `thinkingEffort` 设成 `max`,请求就会被服务端 429 拒绝。客户端自动重试 3 次后还是失败。 错误信息:`429 The engine is currently overloaded, please try again later`。  ##...