ProjectAlita / projectalita.github.io

Langing
GNU Affero General Public License v3.0
1 stars 1 forks source link

Agent SDK: review usage of chat_history usage (list of BaseMessafe dict or string) #474

Open MikalaiB opened 2 months ago

MikalaiB commented 2 months ago

E1: Your agent passing chat_history as string, while should as list of BaseMessafe dict. ValueError: variable chat_history should be a list of base messages, got User asked to print out the results of the Automated Web-app Smoke Test - Step Definitions toolkit. of type <class 'str'>

E2: Hi support team,

I have an issue on eye environment using Master agent. Child agent when run on its own, runs without issues. The master agent fails with the error: ValueError: variable chat_history should be a list of base messages, got User asked to print out the results of the Automated Web-app Smoke Test - Step Definitions toolkit. of type <class 'str'>

This error appears regardless of child agent type or context. It reproduces on a simplified Master agent. Please see a screenshot attached below. image