Skip to content

opencode 上下文大了以后 不显示thinking #32545

Closed as not planned
Closed as not planned

Description

@18739975808

Description

opencode 接入的是 kimi code, 当上下文大了以后 ,不显示thinking 的内容了,感觉模型就变笨了。当压缩过上下文后,又开始显示 thinking的内容了。这个是什么原因?版本是:• OpenCode 1.17.7

Plugins

No response

OpenCode version

OpenCode 1.17.7

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jun 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. 18739975808 commented on Jun 18, 2026

    @18739975808
    Author

    我用的是Kimi For Coding 的 Kimi K2.7 Code 模型, 当上下文超过大概 30% 或者 40% 的时候,思考的内容就会消失,我让kimi 的后台工程师排查了下,发现是 opencode 主动把 思考的参数 设置为了 disabled, 这个从请求日志可以看到。这个需要排查下,为什么opencode 会主动关闭的 思考模式,我把上下文压缩后,又恢复了正常,这个问题 很多人都发现了。

  3. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions