mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 18:33:40 +00:00
community[patch]: Fix arcee llm usage of root_validator(pre=False) (#24896)
Should be pre=True
This commit is contained in:
parent
69c656aa5f
commit
a4a444f73d
@ -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."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user