Commit e75915d
authored
ChatMessage: Accept invalid JSON source references and process them properly (#23)
Some models generate invalid JSON without quotes around the values of
the JSON string:
- Make quotes optional in the RegEx to properly recognize those source
refs as well.
- Accept normal braces instead of curly braces.1 parent f0daea9 commit e75915d
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
0 commit comments