Skip to content

Commit a7b9999

Browse files
committed
update
1 parent 294e526 commit a7b9999

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agentlab/agents/vl_agent/vl_prompt/ui_prompt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ def get_messages(self) -> Discussion:
225225
messages.merge()
226226
return messages
227227

228-
def parse_answer(self, answer_text: str) -> dict:
228+
def parse_answer(self, answer_content: list[dict]) -> dict:
229+
answer_text = answer_content[0]["text"]
229230
answer_dict = {}
230231
try:
231232
answer_dict.update(

0 commit comments

Comments
 (0)