Skip to content

Pressing Control+C twice on Windows stops chat #150

Open
@ItsPi3141

Description

@ItsPi3141

In alpaca.cpp, ctrl+c is used interrupt text generation and return control to the user. On Windows, it works as expected when ctrl+c is pressed the first time. However, if you were to stop a text generation (press ctrl+c) for the second time, it will exit out of the script.

Is there anyway to fix this? Maybe change ctrl+c to something else like ctrl+d.

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