]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
completion : session_tokens insert range in completion tool (no-op → correct) (#20917)
authormtmcp <redacted>
Fri, 27 Mar 2026 08:25:58 +0000 (05:25 -0300)
committerGitHub <redacted>
Fri, 27 Mar 2026 08:25:58 +0000 (09:25 +0100)
commit37f230dd7cff6732580bec976ca9e378af230d20
treeb206bd27398f7f48bb2b17eaf50d9417bbcc5d0b
parenta308e584cae3fa8cee1d739a858a2d780f1de009
completion : session_tokens insert range in completion tool (no-op → correct) (#20917)

The embd.begin(), embd.begin() range is empty and inserts nothing, so session_tokens never gets updated after
  decoding. Should be embd.begin(), embd.end(). Introduced in commit 2b6dfe8.
tools/completion/completion.cpp