aws-samples / aws-samples/sample-sonic-cdk-agent

ModelTimeoutException: Model has timed out in processing the request. Try your request again.

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
65
Forks
29
PR merge metrics
No merged PRs in 30d

Description

After more less 8 minutes , received the error below

ModelTimeoutException: Model has timed out in processing the request. Try your request again.

I am able to store the chathistory in dynamodb and during the error was trying to do resumption by retrieving the chat history from dynamodb but unable to make that work.

Any workaround for this issue?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the request that times out after roughly eight minutes and review how chat history is stored and retrieved from DynamoDB. Compare the failed resumption attempt with the request lifecycle, then define a reproducible workaround or fix and verify that timed-out requests can resume successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.