Commit 48a7f80
fix(ai): handle SSE data prefix without space and add query logging
The SSE spec treats the space after "data:" as optional. Update the
prefix check to match "data:" instead of "data: " so responses parse
correctly regardless of spacing. Also add info-level logging for query
command results.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6655bd9 commit 48a7f80
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments