fix(driveragent): prefix thinking tokens with [THINKING] when forwarding streaming chunks to onToken

This commit is contained in:
2026-01-20 03:10:53 +00:00
parent 8bcf3257e2
commit 79efe8f6b8
3 changed files with 23 additions and 7 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-01-20 - 1.5.3 - fix(driveragent)
prefix thinking tokens with [THINKING] when forwarding streaming chunks to onToken
- Wraps chunk.thinking with '[THINKING] ' before calling onToken to mark thinking tokens
- Forwards chunk.content unchanged
- Change applied in ts/smartagent.classes.driveragent.ts for both initial and subsequent assistant streaming responses
- No API signature changes; only the token payloads sent to onToken are altered
## 2026-01-20 - 1.5.2 - fix()
no changes in this diff; nothing to release