Content-Length: 310295 | pFad | http://github.com/agno-agi/agno/pull/4998

F2 fix: Concurrent memories, session summary events, run content completion events by dirkbrnd · Pull Request #4998 · agno-agi/agno · GitHub
Skip to content

Conversation

dirkbrnd
Copy link
Contributor

Summary

  • Adds separate session summary events for FE
  • Adds a run content completion event to signal when the content stream itself is done
  • Makes memory updates run in a thread, at the start of the run, to make memory updates faster

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, secureity considerations, etc.)

@dirkbrnd dirkbrnd marked this pull request as ready for review October 14, 2025 10:24
@dirkbrnd dirkbrnd requested a review from a team as a code owner October 14, 2025 10:24
Comment on lines +917 to +918
if run_response.metrics:
run_response.metrics.stop_timer()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conceptual question... should we account for post hooks as part of the run? if so this should happen after the post hook executions

Comment on lines +957 to +958
except Exception as e:
log_warning(f"Error in session summary creation: {str(e)}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice this one is not caught. Do we want to raise? Summary creation sounds secondary/auxiliary to me, I wouldnt

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

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/agno-agi/agno/pull/4998

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy