Skip to content

fix(s06): pass compact tool's focus param to auto_compact summarization#180

Open
linguoxuan wants to merge 1 commit intoshareAI-lab:mainfrom
linguoxuan:lgx_0405
Open

fix(s06): pass compact tool's focus param to auto_compact summarization#180
linguoxuan wants to merge 1 commit intoshareAI-lab:mainfrom
linguoxuan:lgx_0405

Conversation

@linguoxuan
Copy link
Copy Markdown

What

将 compact 工具的 focus 参数贯穿到实际的摘要压缩流程中。

Why

s06_context_compact.py 中的 compact 工具定义了 focus 入参,但之前这个参数从未被实际使用——auto_compact 函数既不接收也不处理它,导致 LLM 在压缩对话时无法做到有针对性的保留。

Changes

传递focus参数给LLM模型,引导 LLM 重点保留用户关心的内容。

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

Someone is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

@linguoxuan linguoxuan changed the title feat(s06): pass compact tool's focus param to auto_compact summarization fix(s06): pass compact tool's focus param to auto_compact summarization Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant