lavague-ai / LaVague

Large Action Model framework to develop AI Web Agents
https://docs.lavague.ai/en/latest/
Apache License 2.0
5.49k stars 505 forks source link

Fixed minor issue with YAML parsing #492

Closed dhuynh95 closed 4 months ago

dhuynh95 commented 4 months ago

Added some quick fix to ensure that when we load YAML we ensure that values are not converted to numbers. This is an issue when using dropdown where we want the value of the action to be a string to match the HTML.

Example, if the YAML is:

- value: 01

it is converted to the int 1, while it was supposed to be a str "01".

adeprez commented 4 months ago

Closing since it was covered in #492