Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kimthanh27 opened this issue Feb 24, 2025 · 1 comment

Comments

@Kimthanh27
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant