add methods to deserialize prompts that were old (#14857)

This commit is contained in:
Harrison Chase
2023-12-18 13:45:08 -08:00
committed by GitHub
parent 714bef0cb6
commit 193f107cb5
3 changed files with 169 additions and 4 deletions

View File

@@ -19,7 +19,8 @@ def test_interfaces() -> None:
def _get_get_session_history(
*, store: Optional[Dict[str, Any]] = None
*,
store: Optional[Dict[str, Any]] = None,
) -> Callable[..., ChatMessageHistory]:
chat_history_store = store if store is not None else {}