Commit e37585f
fix: address PR review comments
- Remove redundant double cast in bedrock.ts (as ModelMessage[] as ModelMessage[])
- Use isAnyToolCallBlock/getToolCallId in condense orphan filter to handle
both AI SDK tool-call and legacy tool_use formats
- Fix misleading comment and remove dead conditional in processUserContentMentions
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent cb4bfc9 commit e37585f
File tree
3 files changed
+5
-9
lines changed- src
- api/providers
- core
- condense
- mentions
3 files changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
609 | | - | |
| 608 | + | |
| 609 | + | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 104 | + | |
| 105 | + | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
0 commit comments