AutoAgent icon indicating copy to clipboard operation
AutoAgent copied to clipboard

I requested to create an n8n workflow to manage daily income and expenses—just something simple—but it keeps returning a JSON error.

Open Kimthanh27 opened this issue 10 months ago • 3 comments

I requested to create an n8n workflow to manage daily income and expenses—just something simple—but it keeps returning a JSON error.
agent.instructions(context_variables) File "E:\AUTOMATION\AutoAgent\autoagent\agents\meta_agent\workflow_former.py", line 20, in instructions workflow_list = json.loads(workflow_list) File "D:\python3109\lib\json_init_.py", line 346, in loads return _default_decoder.decode(s) File "D:\python3109\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "D:\python3109\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

(venv) E:\AUTOMATION\AutoAgent>

Kimthanh27 avatar Feb 24 '25 09:02 Kimthanh27

I use this command to run : set COMPLETION_MODEL=gpt-4 auto main my api key is chatgpt4 key

Kimthanh27 avatar Feb 24 '25 09:02 Kimthanh27

Hey, I use the same model and meet the same error.

PennyXQZ avatar Jun 03 '25 15:06 PennyXQZ

I am getting the same error, help me if you have resolved it

GenerativeZee avatar Aug 11 '25 08:08 GenerativeZee