Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Disable syntax highlighting in raw completion cli
Justine Tunneya494bd3f998c
diff --git a/llamafile/chatbot_repl.cpp b/llamafile/chatbot_repl.cppindex a9aad32b..0e8ccbdf 100644--- a/llamafile/chatbot_repl.cpp+++ b/llamafile/chatbot_repl.cpp@@ -129,8 +129,9 @@ void repl() {}// perform important setup- HighlightMarkdown highlighter;- ColorBleeder bleeder(&highlighter);+ HighlightTxt txt;+ HighlightMarkdown markdown;+ ColorBleeder bleeder(is_base_model() ? (Highlight *)&txt : (Highlight *)&markdown);llama_sampling_context *sampler = llama_sampling_init(g_params.sparams);signal(SIGINT, on_sigint);