Skip to content

Bugfix: 修复GraphAgent中AgentNode的last_response被设为「思考/中间轮文本」的问题#128

Merged
raychen911 merged 1 commit into
trpc-group:mainfrom
weimch:feature/minchang_dev
Jul 6, 2026
Merged

Bugfix: 修复GraphAgent中AgentNode的last_response被设为「思考/中间轮文本」的问题#128
raychen911 merged 1 commit into
trpc-group:mainfrom
weimch:feature/minchang_dev

Conversation

@weimch

@weimch weimch commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • 原因:没有移除思考内容及做中间轮工具调用Event的检测
  • 解决方案:使用Event.is_final_response保证是LLM最后一个结果,然后移除最后一个结果的思考内容

- 原因:没有移除思考内容及做中间轮工具调用Event的检测
- 解决方案:使用Event.is_final_response保证是LLM最后一个结果,然后移除最后一个结果的思考内容
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@099b571). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             main        #128   +/-   ##
==========================================
  Coverage        ?   87.51534%           
==========================================
  Files           ?         467           
  Lines           ?       44006           
  Branches        ?           0           
==========================================
  Hits            ?       38512           
  Misses          ?        5494           
  Partials        ?           0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@raychen911 raychen911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@raychen911
raychen911 merged commit a547d6b into trpc-group:main Jul 6, 2026
6 checks passed
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.

2 participants