Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative for instruct mode (Vicuna support, etc.) #863

Merged
merged 14 commits into from
Apr 14, 2023
Prev Previous commit
Next Next commit
bugfix
  • Loading branch information
aroidzap committed Apr 9, 2023
commit 0dc9dcff130c798b5cdd55d836ef8cdf6e10ae27
2 changes: 1 addition & 1 deletion examples/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ bool get_input_text(std::string & input_text, bool escape_newline_mode) {
return 1;
}
}
if (std::ccin.eof()) {
if (std::cin.eof()) {
another_line = false;
std::cin.clear();
std::cin.seekg(0, std::ios::beg);
Expand Down