Skip to content

Commit

Permalink
Fixed liniting.
Browse files Browse the repository at this point in the history
  • Loading branch information
3coins committed Apr 4, 2024
1 parent 278276a commit c2ca4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/aws/langchain_aws/chat_models/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def _generate(
) -> ChatResult:
completion = ""
llm_output: Dict[str, Any] = {"model_id": self.model_id}
usage_info = {}
usage_info: Dict[str, Any] = {}
if self.streaming:
for chunk in self._stream(messages, stop, run_manager, **kwargs):
completion += chunk.text
Expand Down

0 comments on commit c2ca4b1

Please sign in to comment.