mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
fix: adapt golang bindings to api changes
This commit is contained in:
parent
cfb45274e0
commit
c8c95ab46f
@ -65,7 +65,7 @@ void gptj_model_prompt( const char *prompt, void *m, char* result, int repeat_la
|
||||
|
||||
// std::string res = "";
|
||||
|
||||
auto lambda_prompt = [](int token_id, const char *promptchars) {
|
||||
auto lambda_prompt = [](int token_id) {
|
||||
return true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user