provider为openai,已填写apikey和proxy,开启stream,报下面的错误:应该是uniCloud.ai系统处理流式数据时应用JSON.parse解析非json数据引起的。怎么解决
SyntaxError: Unexpected token < in JSON at position 0
14:55:52.389 [本地调试] at JSON.parse (<anonymous>)
14:55:52.389 [本地调试] at IncomingMessage.emit (node:events:513:28)
14:55:52.389 [本地调试] at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)
14:55:52.389 [本地调试] at flow (node:internal/streams/readable:1011:34)
14:55:52.389 [本地调试] at resume_ (node:internal/streams/readable:992:3)
14:55:52.389 [本地调试] at processTicksAndRejections (node:internal/process/task_queues:83:21)
0 个回复