forked from phoenix/litellm-mirror
fix failing tests
This commit is contained in:
parent
d2324c9955
commit
f6279353ac
2 changed files with 3 additions and 0 deletions
|
@ -722,6 +722,8 @@ def message_to_user_question(messages):
|
|||
|
||||
def add_cache(messages, model_response):
|
||||
global cache_collection
|
||||
if cache_collection == None:
|
||||
make_collection()
|
||||
user_question = message_to_user_question(messages)
|
||||
cache_collection.add(
|
||||
documents=[user_question],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue