llama.cpp
38f85919 - ui : keep llama.cpp servers as the only providers

Commit
45 days ago
ui : keep llama.cpp servers as the only providers Drop the OpenAI-compatible backend dialect from the providers work: every backend now speaks the llama.cpp API, so there is nothing to negotiate. Goes with it: the protocol enum and its capability and wire-quirk tables, the adapter registry (it had a single implementation, and both protocols resolved to it), the chat and models path overrides, the endpoint probe that classified a URL as llama or OpenAI, and the hosted-provider presets with their recommendation block. ChatService now builds llama.cpp requests directly and decodes its stream through chat-wire, keeping the timings the server reports instead of the wall-clock fallback a foreign endpoint needs. The gates that read those capabilities collapse to their llama.cpp branch: load, unload, slots, props, the resumable-stream endpoints and pre-encode are simply available. A row of another server loads through that server, and the switch that keeps local server state now keys on the built-in backend rather than on a protocol.
Author
Committer
Parents
Loading