Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszOssGit committed Oct 8, 2024
1 parent 69131fa commit a38ac2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ibm/langchain_ibm/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def _create_message_dicts(
return message_dicts, params

def _create_chat_result(
self, response: Union[dict], generation_info: Optional[Dict] = None
self, response: dict, generation_info: Optional[Dict] = None
) -> ChatResult:
generations = []

Expand Down

0 comments on commit a38ac2d

Please sign in to comment.