From 128c209108b1178daeef48247ff55dcecc1c51fe Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 18 Feb 2026 13:29:28 +0100 Subject: Cleanup and refactor --- context.c | 3 --- npc.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/context.c b/context.c index f015086..b1daf95 100644 --- a/context.c +++ b/context.c @@ -10,9 +10,6 @@ #include #include -#define MAX_TOKENS 512 -#define MAX_TOKEN_LEN 32 - static void llama_log_callback(enum ggml_log_level level, const char *text, void *user_data) { (void)level; (void)user_data; diff --git a/npc.c b/npc.c index 5450866..80a4d65 100644 --- a/npc.c +++ b/npc.c @@ -152,8 +152,8 @@ static int execute_prompt_with_context(const ModelConfig *cfg, const char *promp batch = llama_batch_get_one(&decoder_start, 1); } - printf("------------ Prompt: %s\n", prompt); - printf("------------ Response: "); + printf(">> Prompt: %s\n", prompt); + printf(">> Response: "); fflush(stdout); int n_pos = 0; -- cgit v1.2.3