llmodel_c: expose fakeReply to the bindings (#2061)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-03-06 13:32:24 -05:00
committed by GitHub
parent be6d3bf9dc
commit c19b763e03
3 changed files with 13 additions and 3 deletions

View File

@@ -100,6 +100,7 @@ llmodel.llmodel_prompt.argtypes = [
RecalculateCallback,
ctypes.POINTER(LLModelPromptContext),
ctypes.c_bool,
ctypes.c_char_p,
]
llmodel.llmodel_prompt.restype = None
@@ -361,6 +362,7 @@ class LLModel:
RecalculateCallback(self._recalculate_callback),
self.context,
special,
ctypes.c_char_p(),
)