mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
Help mypy with typing asearch
This commit is contained in:
parent
f81161a05c
commit
ed0ad6fd59
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ It searches the vector store for relevant context and appends it to the messages
|
|||
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, cast
|
||||
|
||||
import litellm
|
||||
import litellm.vector_stores
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.integrations.custom_logger import CustomLogger
|
||||
from litellm.types.llms.openai import AllMessageValues, ChatCompletionUserMessage
|
||||
|
|
@ -192,4 +193,4 @@ class VectorStorePreCallHook(CustomLogger):
|
|||
modified_messages.insert(-1, cast(AllMessageValues, context_message))
|
||||
return modified_messages
|
||||
|
||||
return messages
|
||||
return messages
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue