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

Agent was not able to resolve the task in 0 iterations #443

Closed
cappelaere opened this issue Mar 1, 2025 · 4 comments
Closed

Agent was not able to resolve the task in 0 iterations #443

cappelaere opened this issue Mar 1, 2025 · 4 comments
Assignees
Labels
bug Something isn't working python Python related functionality

Comments

@cappelaere
Copy link

Describe the bug
Agent was not able to resolve the task in 0 iterations

To Reproduce
Steps to reproduce the behavior:

  1. install beeai with python
  2. copy multi_agents.py
  3. python3 multiagents.py

Expected behavior
was expecting to get weather in NewYork

Screenshots / Code snippets
If applicable, add screenshots or code snippets to help explain your problem.

Set-up:

  • Bee version: latest
  • Model provider ollama:granite3.1-dense:8b

Additional context
Add any other context about the problem here.

@cappelaere cappelaere added the bug Something isn't working label Mar 1, 2025
@cappelaere
Copy link
Author

cappelaere commented Mar 1, 2025

@mmurad2 mmurad2 added the python Python related functionality label Mar 2, 2025
@planetf1
Copy link
Contributor

planetf1 commented Mar 3, 2025

In addition pytest is currently failing on main with:

============================================================ short test summary info ============================================================
FAILED tests/examples/test_examples.py::test_example_execution[agents/bee.py] - SystemExit: 1
FAILED tests/examples/test_examples.py::test_example_execution[agents/granite.py] - SystemExit: 1
FAILED tests/examples/test_examples.py::test_example_execution[agents/simple.py] - SystemExit: 1
FAILED tests/examples/test_examples.py::test_example_execution[backend/providers/ollama.py] - beeai_framework.backend.errors.ChatModelError: Chat Model error
FAILED tests/examples/test_examples.py::test_example_execution[basic.py] - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
FAILED tests/examples/test_examples.py::test_example_execution[memory/llmMemory.py] - beeai_framework.backend.errors.ChatModelError: Chat Model error
FAILED tests/examples/test_examples.py::test_example_execution[tools/decorator.py] - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
FAILED tests/examples/test_examples.py::test_example_execution[tools/duckduckgo.py] - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
FAILED tests/examples/test_examples.py::test_example_execution[tools/openmeteo.py] - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
FAILED tests/workflows/test_multi_agents.py::test_multi_agents_workflow_basic - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
FAILED tests/workflows/test_multi_agents.py::test_multi_agents_workflow_creation - beeai_framework.agents.errors.AgentError: Agent was not able to resolve the task in 0 iterations.
======================================================== 11 failed, 99 passed in 41.51s =========================================================
(beeai-framework-py3.13) ➜  python git:(main) 

@Tomas2D Tomas2D self-assigned this Mar 3, 2025
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
Tomas2D added a commit that referenced this issue Mar 3, 2025
Ref: #441
Ref: #443
Ref: #428

Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
@vabarbosa
Copy link
Contributor

@cappelaere this should be resolved by some of the recent updates. can you confirm it works for you in the latest version? thank you!

@Tomas2D
Copy link
Contributor

Tomas2D commented Mar 5, 2025

Please reopen if needed.

@Tomas2D Tomas2D closed this as completed Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Python related functionality
Projects
None yet
Development

No branches or pull requests

5 participants