Skip to content

Capturing Llama.cpp stderr in typescript error #140

Closed Answered by giladgd
samlhuillier asked this question in Q&A
Discussion options

You must be logged in to vote

@samlhuillier In version 3.0.0-beta.6, you can now pass a custom logger to the getLlama function to catch llama.cpp's error logs there instead of using stderr.
You can see code examples of this version here, and the parameter you're looking for is logger; the TypeScript types for this parameter should guide you on how to use it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants