aws-samples / aws-samples/sample-sonic-cdk-agent
ModelTimeoutException: Model has timed out in processing the request. Try your request again.
- 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
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