* fix: Add runtime parameter to compress_messages method(#803) The compress_messages method was being called by PreModelHookMiddleware with both state and runtime parameters, but only accepted state parameter. This caused a TypeError when the middleware executed the pre_model_hook. Added optional runtime parameter to compress_messages signature to match the expected interface while maintaining backward compatibility. * Update the code with the review comments |
||
|---|---|---|
| .. | ||
| agents | ||
| checkpoint | ||
| config | ||
| crawler | ||
| eval | ||
| graph | ||
| llms | ||
| podcast | ||
| prompt_enhancer | ||
| rag | ||
| server | ||
| tools | ||
| utils | ||