mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 11:30:37 +00:00
community[patch]: upgrade to recent version of mypy (#21616)
This PR upgrades community to a recent version of mypy. It inserts type: ignore on all existing failures.
This commit is contained in:
@@ -136,7 +136,7 @@ def _convert_delta_response_to_message_chunk(
|
||||
elif role or default_class == ChatMessageChunk:
|
||||
return ChatMessageChunk(content=content, role=role), finish_reasons
|
||||
else:
|
||||
return default_class(content=content), finish_reasons
|
||||
return default_class(content=content), finish_reasons # type: ignore[call-arg]
|
||||
|
||||
|
||||
def _messages_to_prompt_dict(
|
||||
|
Reference in New Issue
Block a user