From 052a27dc3605d4a81ff3424da781ed176cba4c6d Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 15 Aug 2026 09:06:23 +0800 Subject: Add daemon mode. --- llm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 llm.h (limited to 'llm.h') diff --git a/llm.h b/llm.h new file mode 100644 index 0000000..5bec282 --- /dev/null +++ b/llm.h @@ -0,0 +1,13 @@ +#ifndef LLM_H +#define LLM_H + +#include "llama.h" + +struct llama_model *llm_init(const char *model_path); + +void llm_process_request(struct llama_model *model, + const char *user_prompt, FILE *out); + +void llm_free(struct llama_model *model); + +#endif /* LLM_H */ -- cgit v1.2.3