1
0
Fork 0
mirror of https://gitlab.com/niansa/llama_nds.git synced 2025-03-06 20:53:28 +01:00

Removed condition for empty tokens (there won't be any)

This commit is contained in:
niansa 2023-04-08 14:42:58 +02:00
parent b27f3d8902
commit 719835fe31

View file

@ -85,9 +85,6 @@ basiccoro::AwaitableTask<AsyncResult> Client::ask(std::string_view prompt, const
// End if zero
if (len == 0xFF) break;
// Skip empty token
if (len == 0) continue;
// Receive response
const auto token = co_await connection->read(len);
if (token.empty()) {