Commit 499ec35
fix: handle Workers AI non-string response in conversation-facts
Workers AI can return string or object depending on model. Handle both
to prevent 70% error rate seen in aegis#416.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 997bc55 commit 499ec35
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments