mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00: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 = "";
|
// std::string res = "";
|
||||||
|
|
||||||
auto lambda_prompt = [](int token_id, const char *promptchars) {
|
auto lambda_prompt = [](int token_id) {
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user