generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue
Description
Describe the bug
I added a custom http client like this:
https://github.com/BoundaryML/baml/pull/1827/files#top
but then my requests to bedrock stopped failing if they took longer than 5s with:
DispatchFailure(
DispatchFailure {
source: ConnectorError {
kind: Timeout,
source: ThroughputBelowMinimum {
expected: Throughput {
bytes_read: 1,
per_time_elapsed: 1s,
},
actual: Throughput {
bytes_read: 0,
per_time_elapsed: 1s,
},
},
connection: Unknown,
},
},
)
To fix it I had to disable streamstall protection:
https://github.com/BoundaryML/baml/pull/1877/files
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Don't fail with a timeout
Current Behavior
Fails with an error
Reproduction Steps
Add a custom http client like in: https://github.com/BoundaryML/baml/pull/1827/files#top
Possible Solution
No response
Additional Information/Context
No response
Version
1.85.0
Environment details (OS name and version, etc.)
macos
Logs
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue