Fix ChatPromptTemplate variable parsing issue and update tests

- Replace ChatPromptTemplate with direct HumanMessage/SystemMessage to avoid template variable parsing
- Fix f-string formatting issues in prompt strings
- Update test_general_summary_fallback_on_error to properly mock fallback chain
- Add tests directory with comprehensive test coverage
This commit is contained in:
2025-11-11 20:11:53 +00:00
parent a91613efe2
commit 2ee0d1638a
6 changed files with 787 additions and 153 deletions
+4 -1
View File
@@ -25,4 +25,7 @@ moviepy
yt-dlp
ffmpeg-python
reportlab
anthropic
anthropic
pytest
pytest-mock
langchain-anthropic