• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 22752247302

06 Mar 2026 06:37AM UTC coverage: 92.768%. Remained the same
22752247302

push

github

web-flow
perf: reduce unnecessary deepcopies in Agent (#10704)

* perf: reduce unnecessary deepcopies in Agent

Replace deepcopy of state_schema with shallow dict copy since only
top-level keys are modified. Remove deepcopy of agent_inputs for span
tags since the dict is freshly created and only used for tracing.

* Apply suggestions from code review

* Trigger CI

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>

15610 of 16827 relevant lines covered (92.77%)

0.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.09
haystack/components/agents/agent.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc