Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
268e362f
Commit
268e362f
authored
Jul 10, 2023
by
Jeffrey Morgan
Browse files
fix binding build
parent
07a4c1e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
llama/binding/binding.h
llama/binding/binding.h
+9
-1
No files found.
llama/binding/binding.h
View file @
268e362f
...
...
@@ -20,8 +20,12 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifdef __cplusplus
extern
"C"
{
#endif
#include <stdbool.h>
extern
unsigned
char
tokenCallback
(
void
*
,
char
*
);
...
...
@@ -58,4 +62,8 @@ void llama_binding_free_model(void *state);
int
llama_predict
(
void
*
params_ptr
,
void
*
state_pr
,
char
*
result
,
bool
debug
);
}
\ No newline at end of file
#ifdef __cplusplus
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment