Skip to content

main-webui.py 有疑问 #3

@huwei0607

Description

@huwei0607

stream_response 函数在每次接收到新的数据块(chunk)时,都用这个新数据块替换了整个助手的回复,而不是追加到现有回复的末尾。导致只能看到最新的回复段落

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