Fix bug in AWS Bedrock conversation summarization. It was using an out-of-date pattern (the _client property no longer exists)

This commit is contained in:
Paul Kompfner
2025-08-20 16:20:33 -04:00
parent fe6063fdbe
commit 8c0edffaff

View File

@@ -840,8 +840,11 @@ class AWSBedrockLLMService(LLMService):
request_params["system"] = [{"text": summary_prompt}] request_params["system"] = [{"text": summary_prompt}]
async with self._aws_session.client(
service_name="bedrock-runtime", **self._aws_params
) as client:
# Call Bedrock without streaming # Call Bedrock without streaming
response = self._client.converse(**request_params) response = await client.converse(**request_params)
# Extract the response text # Extract the response text
if ( if (