We had a similar thread recently. Can confirm that using JSON mode overcomes the problem with the unwanted prefix, e.g. ```json.
jr.2509
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| JSON Response + logit_bias | 4 | 1057 | March 15, 2024 | |
| There is a new Broken-JSON variant in the response | 21 | 1586 | June 1, 2024 | |
| How to get 100% valid JSON answers? | 15 | 11018 | June 11, 2024 | |
| Valid json every time? | 16 | 12586 | March 27, 2023 | |
| Ensure JSON response format | 22 | 47033 | January 23, 2024 |