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:
parent
b27f3d8902
commit
719835fe31
1 changed files with 0 additions and 3 deletions
|
@ -85,9 +85,6 @@ basiccoro::AwaitableTask<AsyncResult> Client::ask(std::string_view prompt, const
|
||||||
// End if zero
|
// End if zero
|
||||||
if (len == 0xFF) break;
|
if (len == 0xFF) break;
|
||||||
|
|
||||||
// Skip empty token
|
|
||||||
if (len == 0) continue;
|
|
||||||
|
|
||||||
// Receive response
|
// Receive response
|
||||||
const auto token = co_await connection->read(len);
|
const auto token = co_await connection->read(len);
|
||||||
if (token.empty()) {
|
if (token.empty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue