Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dirkbrnd
Copy link
Contributor

Summary

  • This removes expected_output from delegate_task_to_member
  • This adds the top-level field add_team_history_to_members that works the same as add_workflow_history_to_steps
  • Add various examples to show how this works

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

Additional Notes

Add any important context (deployment instructions, screenshots, security considerations, etc.)

@dirkbrnd dirkbrnd requested a review from a team as a code owner October 18, 2025 15:42
@dirkbrnd dirkbrnd added the docs-needed The official Agno docs should be updated label Oct 19, 2025
@adiberk
Copy link
Contributor

adiberk commented Oct 20, 2025

Why is expected_output being removed? While I don't rely on it, I have seen my team use it - is this something that was causing issues?

I asking only bc I have custom overrides for all the task delegation methods to fix some issues I was experiencing and this change would technically break it I guess

Also team_history_str - What is this coming to solve? Sharing the team general information with subagents?

@dirkbrnd
Copy link
Contributor Author

dirkbrnd commented Oct 21, 2025

Why is expected_output being removed? While I don't rely on it, I have seen my team use it - is this something that was causing issues?

I asking only bc I have custom overrides for all the task delegation methods to fix some issues I was experiencing and this change would technically break it I guess

Also team_history_str - What is this coming to solve? Sharing the team general information with subagents?

  1. Most models was pretty much always setting the expected output and it was too opinionated of an approach. We want to make Teams more generally useable. The agent could still have its own expected output of course.
  2. We do consider this a breaking change and will release it as such, with other breaking changes. I feel it is necessary though, as it improves quite a few things on teams.
  3. team_history_str, this shares the team-level history with members yes. There wasn't a way to do this before and it gives members context of that team-level history

@adiberk
Copy link
Contributor

adiberk commented Oct 21, 2025

Got it - thanks

@manuhortet manuhortet merged commit 404bc20 into main Oct 22, 2025
5 checks passed
@manuhortet manuhortet deleted the fix/team-history branch October 22, 2025 16:34
guyrosin pushed a commit to guyrosin/agno that referenced this pull request Oct 23, 2025
## Summary

- This removes `expected_output` from delegate_task_to_member
- This adds the top-level field `add_team_history_to_members` that works
the same as `add_workflow_history_to_steps`
- Add various examples to show how this works

## Type of change

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Improvement
- [ ] Model update
- [ ] Other:

---

## Checklist

- [ ] Code complies with style guidelines
- [ ] Ran format/validation scripts (`./scripts/format.sh` and
`./scripts/validate.sh`)
- [ ] Self-review completed
- [ ] Documentation updated (comments, docstrings)
- [ ] Examples and guides: Relevant cookbook examples have been included
or updated (if applicable)
- [ ] Tested in clean environment
- [ ] Tests added/updated (if applicable)

---

## Additional Notes

Add any important context (deployment instructions, screenshots,
security considerations, etc.)

---------

Co-authored-by: Yash Pratap Solanky <[email protected]>
Mustafa-Esoofally pushed a commit that referenced this pull request Oct 23, 2025
## Summary

- This removes `expected_output` from delegate_task_to_member
- This adds the top-level field `add_team_history_to_members` that works
the same as `add_workflow_history_to_steps`
- Add various examples to show how this works

## Type of change

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Improvement
- [ ] Model update
- [ ] Other:

---

## Checklist

- [ ] Code complies with style guidelines
- [ ] Ran format/validation scripts (`./scripts/format.sh` and
`./scripts/validate.sh`)
- [ ] Self-review completed
- [ ] Documentation updated (comments, docstrings)
- [ ] Examples and guides: Relevant cookbook examples have been included
or updated (if applicable)
- [ ] Tested in clean environment
- [ ] Tests added/updated (if applicable)

---

## Additional Notes

Add any important context (deployment instructions, screenshots,
security considerations, etc.)

---------

Co-authored-by: Yash Pratap Solanky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-needed The official Agno docs should be updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants