Skip to content

Refactor agent session code: improve imports, formatting, and remove …

a969924
Select commit
Loading
Failed to load commit list.
Draft

Manage agent conversational sessions and cursors #2259

Refactor agent session code: improve imports, formatting, and remove …
a969924
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 25, 2025 in 1s

90.85% (+0.01%) compared to a63de6d

View this Pull Request on Codecov

90.85% (+0.01%) compared to a63de6d

Details

Codecov Report

❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.85%. Comparing base (a63de6d) to head (a969924).
⚠️ Report is 90 commits behind head on master.

Files with missing lines Patch % Lines
cognite/client/data_classes/agents/agents.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2259      +/-   ##
==========================================
+ Coverage   90.84%   90.85%   +0.01%     
==========================================
  Files         167      167              
  Lines       24785    24865      +80     
==========================================
+ Hits        22516    22592      +76     
- Misses       2269     2273       +4     
Files with missing lines Coverage Δ
cognite/client/_api/agents/agents.py 100.00% <100.00%> (ø)
cognite/client/data_classes/agents/__init__.py 100.00% <ø> (ø)
cognite/client/data_classes/agents/chat.py 98.59% <100.00%> (+0.14%) ⬆️
cognite/client/data_classes/agents/agents.py 98.66% <83.33%> (-1.34%) ⬇️

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.