community[patch]: Fix arcee llm usage of root_validator(pre=False) (#24896)

Should be pre=True
This commit is contained in:
Eugene Yurtsev 2024-07-31 14:49:20 -04:00 committed by GitHub
parent 69c656aa5f
commit a4a444f73d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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."""