Skip to content

bug: 生成失败只显示 'CodesignError: terminated',缺乏具体错误信息 #189

@Sun-sunshine06

Description

@Sun-sunshine06

问题描述

生成失败时,界面只显示非常模糊的错误信息:

Error invoking remote method 'codesign:v1:generate': CodesignError: terminated

用户无法知道具体是什么原因导致终止:

  • 是网络中断?
  • 是服务端主动断开?
  • 还是第三方中转提前关闭连接?
  • 客户端超时?

期望改进

应该保留原始错误信息,或者至少给出更具体的分类提示,帮助用户排查问题。当前的 terminated 信息太模糊了。

背景

这个错误通常是底层 HTTP 请求被提前终止(比如第三方中转的 SSE 截断问题 #167),但原始错误没有透传上来,用户看到的只有笼统的 "terminated"。

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerspackages/providers (pi-ai adapter, model calls)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions