Adira
Adira
This is implemented on master: - Route: `POST /v1/tokenize` registered at `core/http/routes/localai.go:299` - Handler: `core/http/endpoints/localai/tokenize.go` — takes a `TokenizeRequest` and dispatches to `backend.ModelTokenize` - Backends like llama.cpp expose tokenization through...
Thanks for the clarification @benniekiss — detokenization isn't there today (no `Detokenize` RPC in `backend/backend.proto`, no `/v1/detokenize` route). Happy to add it; it's a strict mirror of the existing tokenize...
I was tracking down #9722 (the streaming path emitting the same `tool_call` at multiple `index` values). While reading through the streaming loop in `chat.go` to understand which parser fires when,...
Rebased onto current master (05e8e1e9). The only conflicts were in the generated swagger files — upstream had added Diarization types; I merged both sets in alphabetical order. All other files...
Hi @mudler — just checking in on this one. The e2e mock backend tests you requested are in (commit 349c9d2), and the branch was rebased onto current master on May...
Rebased onto current master — branch now has 2 commits (the endpoint + e2e tests) cleanly on top of master with no unrelated changes. Also checked: no other PR has...
Hi @mudler — just flagging that the e2e tests requested in the review have been added in the second commit (`c168bcba`). The test suite adds a `Detokenize` method to the...
I dug into this. The long gap between log lines at startup (in your case ~3 min for a single model) is the GGUF default-guessing step in `llamaCppDefaults`: on boot...
Hi @qhzhu — I went ahead and opened a scoped PR (#808) that adds `WWW-Authenticate` `resource_metadata` parsing exactly as described here. It's narrowly focused on this issue and doesn't touch...
I dug into this with a view to writing the reproduction the triage comment asks for. Posting what the code says first, because it narrows where the repro has to...