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

Skip to content

Fix visualization recursion with cycle detection #737

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

Merged

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented May 21, 2025

Summary

  • avoid infinite recursion in visualization by tracking visited agents
  • test cycle detection in graph utility

Testing

  • make mypy
  • make tests

Resolves #668

@rm-openai rm-openai requested a review from pakrym-oai May 21, 2025 22:33
@rm-openai rm-openai merged commit db462e3 into main May 23, 2025
5 checks passed
@rm-openai rm-openai deleted the codex/fix-infinite-recursion-in-visualization-functions branch May 23, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite recursion in src/agents/extensions/visualization.py due to circular references
2 participants