open-notebook/tests
Justin Florentine 855e730577
fix: preserve AIMessage metadata when cleaning thinking content
Use model_copy() instead of creating new AIMessage to preserve
response_metadata, id, usage_metadata, etc. Also adds test coverage
for malformed thinking tags pattern.

Addresses PR #333 feedback from lfnovo and cubic-dev-ai.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 20:08:12 -05:00
..
conftest.py refactor: optimize duplicate model validation and improve error handling (#219) 2025-10-25 08:48:18 -03:00
README.md Initial commit with all features 2024-10-21 14:56:10 -03:00
test_domain.py Release 1.2 (#242) 2025-11-01 14:40:00 -03:00
test_graphs.py feat: simplify reverse proxy configuration with Next.js rewrites (#213) 2025-10-24 11:24:14 -03:00
test_models_api.py refactor: optimize duplicate model validation and improve error handling (#219) 2025-10-25 08:48:18 -03:00
test_utils.py fix: preserve AIMessage metadata when cleaning thinking content 2025-12-19 20:08:12 -05:00

Coming Soon