mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
fix: adapt golang bindings to api changes
This commit is contained in:
parent
8ff7dd465e
commit
11984de7e7
@ -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