From f6a03143ac31bac6c2efc7f2ee6bc0873ad53590 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Fri, 9 Feb 2024 16:49:17 +0100 Subject: [PATCH] python bindings fix --- bindings/yarp.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/yarp.i b/bindings/yarp.i index 16573b9237d..92ed71a9c2c 100644 --- a/bindings/yarp.i +++ b/bindings/yarp.i @@ -1584,8 +1584,8 @@ typedef yarp::os::BufferedPort BufferedPortImageRgbFloat; return self->readPrompt(oPropmt[0]); } - bool ask(const std::string& question, std::vector& answer) { - return self->ask(question, answer[0]); + bool ask(const std::string& question, yarp::dev::LLM_Message& answer) { + return self->ask(question, answer); } }