mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-06 13:33: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:
@@ -82,7 +82,7 @@ class MiniMaxChat(MinimaxCommon, BaseChatModel):
|
||||
|
||||
# This is required since the stop are not enforced by the model parameters
|
||||
text = text if stop is None else enforce_stop_tokens(text, stop)
|
||||
return ChatResult(generations=[ChatGeneration(message=AIMessage(text))])
|
||||
return ChatResult(generations=[ChatGeneration(message=AIMessage(text))]) # type: ignore[misc]
|
||||
|
||||
async def _agenerate(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user