Skip to content

Commit

Permalink
python bindings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Feb 9, 2024
1 parent ffb7f82 commit f6a0314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/yarp.i
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,8 @@ typedef yarp::os::BufferedPort<ImageRgbFloat> BufferedPortImageRgbFloat;
return self->readPrompt(oPropmt[0]);
}

bool ask(const std::string& question, std::vector<string>& answer) {
return self->ask(question, answer[0]);
bool ask(const std::string& question, yarp::dev::LLM_Message& answer) {
return self->ask(question, answer);
}
}

Expand Down

0 comments on commit f6a0314

Please sign in to comment.