Skip to content

Commit

Permalink
Updating a function description
Browse files Browse the repository at this point in the history
  • Loading branch information
NAPTlME committed Apr 22, 2024
1 parent afda911 commit 02893cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/aws/langchain_aws/llms/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _combine_generation_info_for_llm_result(
) -> Dict[str, Any]:
"""
Returns usage and stop reason information with the intent to pack into an LLMResult
Takes a list of GenerationChunks
Takes a list of generation_info from GenerationChunks
If the messages api is being used, the generation_info from some of these chunks should contain "usage" keys

Check failure on line 127 in libs/aws/langchain_aws/llms/bedrock.py

View workflow job for this annotation

GitHub Actions / cd libs/aws / make lint #3.11

Ruff (E501)

langchain_aws/llms/bedrock.py:127:89: E501 Line too long (112 > 88)
if not, the token counts should be found within "amazon-bedrock-invocationMetrics"
"""
Expand Down

0 comments on commit 02893cc

Please sign in to comment.