Replies: 1 comment
|
这句话不是 DSH 生成的错误文案,是本地推理服务的错误被原样透传上来了。
return 'PI_AI_ERROR'那是 case 'error': {
const text = message.errorMessage ?? 'pi-ai stream error'
return { kind: 'error', failure: { message: text, code: classifyPiAiError(text) } }所以你看到的那句是 pi-ai 的 为什么不会恢复: peg-native 是 llama.cpp 的东西(这一段不是仓库可验证的,属外部信息): 建议的下一步:先把 DSH 从等式里去掉。用 curl 直接打本地服务的
我没能确认的:这句话究竟是 llama.cpp 服务端产生的,还是某个 pi-ai 版本自己产生的。本 checkout 里安装的 pi-ai 0.85.1 中我也没有搜到这句话,而 如果 curl 直连的结果和经 DSH 的结果不一致,把两份原始响应体贴上来,就能直接定位到具体是哪一层改写了它。 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
本轮运行失败The model produced output that does not match the expected peg-native format
PI_AI_ERROR
模型 gpt-oss-20b-MXFP4.gguf
All reactions