Sending the answer in chunks

This commit is contained in:
Filipi Fuchter
2025-11-28 14:37:53 -03:00
parent 43e8641303
commit e1def85747
2 changed files with 26 additions and 4 deletions

View File

@@ -57,7 +57,6 @@ async def offer(request: Request):
response = bedrock.invoke_agent_runtime(
agentRuntimeArn=AGENT_RUNTIME_ARN,
contentType="application/json",
accept="application/json",
payload=json.dumps(data),
# TODO: create a custom randon id
runtimeSessionId="user-123456-conversation-111115555",