Update pre-commit hook versions to most recent versions (#8343)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Graham Neubig
2025-05-07 23:59:13 -04:00
committed by GitHub
parent d5a8d4251c
commit 689d3c9046
296 changed files with 882 additions and 847 deletions

View File

@@ -149,9 +149,9 @@ class Message(BaseModel):
# an observation message with tool response
if self.tool_call_id is not None:
assert (
self.name is not None
), 'name is required when tool_call_id is not None'
assert self.name is not None, (
'name is required when tool_call_id is not None'
)
message_dict['tool_call_id'] = self.tool_call_id
message_dict['name'] = self.name