Skip to content

workbuddy的状态为canceled #190

Description

@securentry

问题现象:qoder的结束了都是ok。但是workbuddy的是canceled,实际上是成功了的。

让AI扫了下,问题可能处在:

在 WorkBuddy 流处理中(
internal/providers/workbuddy/sse.go
): 在 copySanitizedSSE 中,当收到 payload == "[DONE]" 时,写入 data: [DONE]\n\n 后立即 return nil,让管道和 upstream 连接立刻正常关闭,不再死等。

截图如下,麻烦看看,有空的时候修复下。
@caigee-cmd


Image
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions