Fix message validation JSON import (#809)

* Fix message validation JSON import

* Update src/utils/context_manager.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
MirzaSamadAhmedBaig 2026-01-09 17:38:19 +03:00 committed by GitHub
parent ca20c4d84e
commit c979cb3808
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# src/utils/token_manager.py
# src/utils/context_manager.py
import copy
import json
import logging
from typing import List
@ -329,3 +330,4 @@ def validate_message_content(messages: List[BaseMessage], max_content_length: in
validated.append(msg)
return validated