mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 07:07:34 +00:00
lite llm lint (#9208)
This commit is contained in:
parent
49f1d8477c
commit
b5a57acf6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user