fix: adapt golang bindings to api changes

This commit is contained in:
mudler 2023-05-22 17:43:07 +02:00 committed by AT
parent cfb45274e0
commit c8c95ab46f

View File

@ -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;
}; };