fix: bump lockfiles (#31923)

* bump lockfiles after upgrading ruff
* resolve resulting linting fixes
This commit is contained in:
Mason Daugherty
2025-07-08 13:27:55 -04:00
committed by GitHub
parent e7f1ceee67
commit 4d9eefecab
20 changed files with 5643 additions and 5631 deletions

View File

@@ -552,7 +552,7 @@ class ChatHuggingFace(BaseChatModel):
messages: list[BaseMessage],
stop: Optional[list[str]] = None,
run_manager: Optional[CallbackManagerForLLMRun] = None,
stream: Optional[bool] = None,
stream: Optional[bool] = None, # noqa: FBT001
**kwargs: Any,
) -> ChatResult:
should_stream = stream if stream is not None else self.streaming
@@ -593,7 +593,7 @@ class ChatHuggingFace(BaseChatModel):
messages: list[BaseMessage],
stop: Optional[list[str]] = None,
run_manager: Optional[AsyncCallbackManagerForLLMRun] = None,
stream: Optional[bool] = None,
stream: Optional[bool] = None, # noqa: FBT001
**kwargs: Any,
) -> ChatResult:
if _is_huggingface_textgen_inference(self.llm):