Skip to content

Commit

Permalink
Update bedrock_llm_agent.py
Browse files Browse the repository at this point in the history
implemented is_streaming_enabled for BedrockLLMAgent
  • Loading branch information
brnaba-aws authored Oct 8, 2024
1 parent 7683903 commit 697226d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def __init__(self, options: BedrockLLMAgentOptions):
options.custom_system_prompt.get('variables')
)

def is_streaming_enabled(self) -> bool:
return self.streaming is True

async def process_request(
self,
input_text: str,
Expand Down

0 comments on commit 697226d

Please sign in to comment.