mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-10 07:21:03 +00:00
community[patch]: Fix arcee llm usage of root_validator(pre=False) (#24896)
Should be pre=True
This commit is contained in:
@@ -75,7 +75,7 @@ class Arcee(LLM):
|
|||||||
model_name=self.model,
|
model_name=self.model,
|
||||||
)
|
)
|
||||||
|
|
||||||
@root_validator(pre=False)
|
@root_validator(pre=True)
|
||||||
def validate_environments(cls, values: Dict) -> Dict:
|
def validate_environments(cls, values: Dict) -> Dict:
|
||||||
"""Validate Arcee environment variables."""
|
"""Validate Arcee environment variables."""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user