Skip to content

AI 气泡框在流式输出的时候无法停止 #240

Description

@kevinjie
Image 查看了源码,发现这里无法执行。this.fetch没有地方赋值,应该是判断this.ctrl是否为false吧,改为如下代码?

stop() { this.ctrl&& (this.ctrl.abort(), this.isStop || (this.listener.onStop(), this.isStop = true)); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions