Skip to content

[Help] 我在把项目fork下来之后,替换为我自己的接口,用axios不是fetch,我可以确定的是接口是正常的流式返回,但是在本地跑的时候,调用这个接口会显示一次性返回,不是流式输出,我看了头信息都是没有问题的,但是部署在服务器中是没有问题的,是因为什么呢,要怎样解决呢,希望得到作者或者同行的帮助,谢谢 #676

@wisdomlsh

Description

@wisdomlsh

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

2024-05-11.12.59.27.mov

Expected Behavior

希望本地项目能像流一样返回

Steps To Reproduce

重现步骤就是上面的视频

Environment

node版本18.12.0, next的版本13.4.9,

Anything else?

No response

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