lib_llama_cpp_server 0.7.0
lib_llama_cpp_server: ^0.7.0 copied to clipboard
Local OpenAI-compatible HTTP server for lib_llama_cpp.
lib_llama_cpp_server #
Pure Dart local HTTP server for lib_llama_cpp.
This package provides a small OpenAI-compatible server around the persistent
llcs_engine binding. It exposes health, model listing, and chat completion
routes for local clients that want to talk to a GGUF model through HTTP while
keeping the model loaded in process.
dart run lib_llama_cpp_server \
--library /path/to/liblib_llama_cpp_linux.so \
--model local \
--model-path /models/model.gguf \
--host 127.0.0.1 \
--port 8080
Supported first-pass endpoints:
GET /healthzGET /v1/modelsPOST /v1/chat/completions
Streaming chat completions are returned as OpenAI-style server-sent events.
This package is model inference only. It does not expose local filesystem, shell, agent orchestration, or tool execution capabilities.