fix(agent): retain skipped inline reasoning separators

This commit is contained in:
Xubin Ren committed 2026-10-18 19:57:34 +08:00
1 parent ed8143f7d0
commit d0a1423ccf
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -289,9 +289,9 @@ class IncrementalThinkExtractor:
if not thinking or thinking == self._emitted:
return False
new = thinking[len(self._emitted) :]
self._emitted = thinking
if not new.strip():
return False
self._emitted = thinking
await emit(new)
return True