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

Skip to content

Conversation

@sepandhaghighi
Copy link
Member

Reference Issues/PRs

#98

What does this implement/fix? Explain your changes.

  • Response class warnings property added
  • Prompt class warnings property added
  • Session class warnings property added

Any other comments?

@sepandhaghighi sepandhaghighi added this to the memor v0.9 milestone Oct 17, 2025
@sepandhaghighi sepandhaghighi self-assigned this Oct 17, 2025
@sepandhaghighi sepandhaghighi added the enhancement New feature or request label Oct 17, 2025
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.60%. Comparing base (4622dd6) to head (2d2fde1).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #172      +/-   ##
==========================================
+ Coverage   98.59%   98.60%   +0.01%     
==========================================
  Files          11       11              
  Lines        1699     1707       +8     
  Branches      162      162              
==========================================
+ Hits         1675     1683       +8     
  Misses          5        5              
  Partials       19       19              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sepandhaghighi sepandhaghighi marked this pull request as ready for review October 17, 2025 20:40
memor/message.py Outdated
return self.get_size()

@property
def warnings(self) -> Dict[str, Union[float, bool]]:
Copy link
Member

Choose a reason for hiding this comment

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

I guess it should be Dict[str, Dict[str, Union[float, bool]]]:

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in 2d2fde1

memor/session.py Outdated
return self.get_size()

@property
def warnings(self) -> Dict[str, Union[float, bool]]:
Copy link
Member

Choose a reason for hiding this comment

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

same for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in 2d2fde1

@sadrasabouri sadrasabouri merged commit 8d7e499 into dev Oct 18, 2025
22 checks passed
@sepandhaghighi sepandhaghighi deleted the warnings branch October 19, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants