Commit 8228294
authored
fix: prevent duplicate reasoning_details when converting messages back to API format (#344)
* fix: prevent duplicate reasoning_details when converting messages back to API format
* chore: adds changelog
* refactor: use helper function for reasoning_details deduplication
Replaces boolean flag tracking with a cleaner findFirstReasoningDetails() helper.
Priority: message-level > first tool call > first reasoning part.
* chore: improves parallel-tool-calls test coverage1 parent 111f582 commit 8228294
File tree
6 files changed
+819
-49
lines changed- .changeset
- e2e
- src/chat
6 files changed
+819
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
0 commit comments