tok count patch
This commit is contained in:
@@ -150,7 +150,7 @@ static int AL(Cfg &cfg, Messages &msgs, Usage &out, volatile int *interrupted, s
|
|||||||
if (err) *err = std::move(lerr);
|
if (err) *err = std::move(lerr);
|
||||||
rc = -1; break;
|
rc = -1; break;
|
||||||
}
|
}
|
||||||
out.prompt_tokens += u.prompt_tokens;
|
out.prompt_tokens = u.prompt_tokens;
|
||||||
out.completion_tokens += u.completion_tokens;
|
out.completion_tokens += u.completion_tokens;
|
||||||
out.total_tokens += u.total_tokens;
|
out.total_tokens += u.total_tokens;
|
||||||
out.context_tokens = u.context_tokens;
|
out.context_tokens = u.context_tokens;
|
||||||
|
|||||||
Reference in New Issue
Block a user