Commit 856fa26
fix: preserve non-text content in consolidateContentForClaudeCode
When original response contains only non-text content (e.g., images),
return the original response unchanged instead of creating an empty
text block that overwrites the content.
Co-authored-by: Cameron Cooke <cameroncooke@users.noreply.github.com>1 parent 63228ae commit 856fa26
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
241 | 246 | | |
242 | 247 | | |
243 | 248 | | |
| |||
0 commit comments