From 9592bc5676597c0bd256bfc19df581d1606da3d6 Mon Sep 17 00:00:00 2001 From: mike dupont Date: Sun, 10 Dec 2023 15:31:08 -0500 Subject: [PATCH] fixing first bug --- plugin_ocaml.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin_ocaml.cpp b/plugin_ocaml.cpp index 8f9b254ab..2f528d21c 100644 --- a/plugin_ocaml.cpp +++ b/plugin_ocaml.cpp @@ -92,7 +92,8 @@ std::string process_output_plugin_ocaml(const std::string start, void process_output_plugin_ocaml_init() { printf( "Linked against OCaml version %s\n", OCAML_VERSION_STRING ); - caml_startup( NULL ); + const char *argv[] = {"llamacpp", NULL }; + caml_startup( argv ); } void process_output_plugin_ocaml_destroy()