lite llm lint (#9208)

This commit is contained in:
Bagatur
2023-08-14 08:03:06 -07:00
committed by GitHub
parent 49f1d8477c
commit b5a57acf6c

View File

@@ -15,7 +15,7 @@ from typing import (
Union,
)
from pydantic import BaseModel, Field, root_validator
from pydantic_v1 import Field, root_validator
from langchain.callbacks.manager import (
AsyncCallbackManagerForLLMRun,
@@ -186,7 +186,7 @@ def _convert_message_to_dict(message: BaseMessage) -> dict:
return message_dict
class ChatLiteLLM(BaseChatModel, BaseModel):
class ChatLiteLLM(BaseChatModel):
"""Wrapper around the LiteLLM Model I/O library.
To use you must have the google.generativeai Python package installed and