I requested to create an n8n workflow to manage daily income and expenses—just something simple—but it keeps returning a JSON error.
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>
I use this command to run : set COMPLETION_MODEL=gpt-4 auto main my api key is chatgpt4 key
Hey, I use the same model and meet the same error.
I am getting the same error, help me if you have resolved it