mirror of
https://gitlab.com/niansa/llama_any.git
synced 2025-03-06 20:48:27 +01:00
Updated for latest server version
This commit is contained in:
parent
05a221017e
commit
9301dda5d8
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ basiccoro::AwaitableTask<AsyncResult> Client::ask(std::string_view prompt, const
|
|||
|
||||
// Run on_token callback
|
||||
co_await on_token(token);
|
||||
|
||||
// Send no cancellation
|
||||
co_await connection->writeObject<uint8_t>(0xC0);
|
||||
}
|
||||
|
||||
// No error
|
||||
|
|
Loading…
Add table
Reference in a new issue