File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
llm-service/app/services/chat_history Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,9 @@ def append_to_history(
9090
9191@functools .cache
9292def _get_chat_history_manager () -> ChatHistoryManager :
93- """Return a ChatHistoryManager based on the app's chat store config .
93+ """Create a ChatHistoryManager the first time this function is called, and return it .
9494
95- This function can be monkey-patched for testing purposes.
95+ This helper function can be monkey-patched for testing purposes.
9696
9797 """
9898 from app .services .chat_history .simple_chat_history_manager import (
@@ -111,4 +111,5 @@ def _get_chat_history_manager() -> ChatHistoryManager:
111111
112112
113113def get_chat_history_manager () -> ChatHistoryManager :
114+ """Return a ChatHistoryManager based on the app's chat store config."""
114115 return _get_chat_history_manager ()
You can’t perform that action at this time.
0 commit comments