New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.TypeInitializationException: 'The type initializer for 'LLama.Native.NativeApi' threw an exception.' #686
Comments
There's an error text in your project file, as below.
Have you installed any backend packages of LLamaSharp? As you can see here. |
Could you please take a look at your output folder? For example, |
No There is no |
Please add the following code to the very beginning of your program first. NativeLibraryConfig.Instance.WithLibrary("<path>");
However, that's a bit weird to have
|
Yeah, I'l tests it. |
Also
|
Please use |
Program.cs
Project File
Exeception Details
The text was updated successfully, but these errors were encountered: