mirror of
https://gitlab.com/niansa/llama_any_server.git
synced 2025-03-06 20:53:35 +01:00
Run until EOS
This commit is contained in:
parent
8789632dc6
commit
f5741a97fc
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -70,7 +70,7 @@ class Server {
|
|||
|
||||
// Run inference
|
||||
std::cout << "Running interference...\n" << std::endl;
|
||||
auto result = inference.run("\n", [&socket] (const char *token) {
|
||||
auto result = inference.run("RUN UNTIL EOS...", [&socket] (const char *token) {
|
||||
uint8_t len;
|
||||
const auto token_len = strlen(token);
|
||||
std::cout << token << std::flush;
|
||||
|
|
Loading…
Add table
Reference in a new issue