mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-09 06:53:59 +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,
|
||||
)
|
||||
|
||||
@root_validator(pre=False)
|
||||
@root_validator(pre=True)
|
||||
def validate_environments(cls, values: Dict) -> Dict:
|
||||
"""Validate Arcee environment variables."""
|
||||
|
||||
|
Reference in New Issue
Block a user