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

[Bug] Fail to generate a valid workflow. Invalid JSON? #238

Open
3 tasks done
avBuffer opened this issue Sep 13, 2024 · 1 comment
Open
3 tasks done

[Bug] Fail to generate a valid workflow. Invalid JSON? #238

avBuffer opened this issue Sep 13, 2024 · 1 comment
Labels
bug report bugs that need to be fixed

Comments

@avBuffer
Copy link

Checked other resources

  • I added a very descriptive title to this issue.
  • I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
  • The usage issue is not resolved by updating to the latest stable version in the main branch.

Describe your current environment

No response

Describe the bug

(aios) archermind@archermind:~/work/workspace/AIOS$ python main.py --llm_name ollama/llama3:8b --use_backend ollama
[🤖ollama/llama3:8b] AIOS LLM successfully loaded.

[example/academic_agent] Initialized.

[example/academic_agent] Create an Instagram post: Image of a person using a new tech gadget, text highlighting its key features and benefits.

[Scheduler] example/academic_agent[PID=4624665] is executing.

[🤖ollama/llama3:8b] example/academic_agent is switched to executing.

[Scheduler] example/academic_agent[PID=6955842] is executing.

[🤖ollama/llama3:8b] example/academic_agent is switched to executing.

[Scheduler] example/academic_agent[PID=7630327] is executing.

[🤖ollama/llama3:8b] example/academic_agent is switched to executing.

[example/academic_agent] Fail to generate a valid workflow. Invalid JSON?

@avBuffer avBuffer added the bug report bugs that need to be fixed label Sep 13, 2024
@dongyuanjushi
Copy link
Collaborator

This is because some open-sourced models is not powerful enough to generate automatic workflows. For these small models, it is recommended to set the workflow mode as manual to run the agents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report bugs that need to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants