Zhi Yan Liu
a428378ad3
fix(llm): honor GRAPHIFY_API_TIMEOUT in the bedrock backend
...
The two bedrock-runtime clients (primary extraction in _call_bedrock and
the secondary dispatch path in _call_llm) were built with no botocore
config, so Converse used botocore's 60s default read timeout and ignored
GRAPHIFY_API_TIMEOUT / --api-timeout entirely. A long opus-class
generation then died with "Read timeout on endpoint URL" no matter how
high the timeout was set.
Both client constructions now pass a botocore.config.Config wiring
read_timeout to _resolve_api_timeout() (default 600s), a 10s
connect_timeout, and retries from _resolve_max_retries() in adaptive
mode. This mirrors the fixes that closed the same gap for the claude-cli
subprocess (#1112/#1111) and the secondary LLM dispatch path (#1442 ) --
bedrock was the last cloud backend still ignoring the knob.
Also updates the README env-var row, which listed the timeout as
applying to HTTP/claude-cli/Anthropic only, and the _fake_boto3 test
fixture to register botocore.config and capture the client config so the
new coverage can assert the timeout is wired.
2026-07-29 17:01:49 +01:00
..
2026-07-26 11:08:10 +01:00
2026-07-15 15:09:17 +01:00
2026-07-25 18:02:33 +01:00
2026-07-21 18:39:05 +01:00
2026-07-05 11:41:18 +01:00
2026-07-11 11:52:12 +01:00
2026-07-26 11:52:20 +01:00
2026-07-16 23:48:07 +01:00
2026-07-27 10:46:47 +01:00
2026-07-20 13:29:54 +01:00
2026-07-26 11:52:20 +01:00
2026-07-08 12:09:40 +01:00
2026-07-29 17:00:15 +01:00
2026-07-14 13:19:16 +01:00
2026-07-16 23:48:07 +01:00
2026-07-15 13:13:30 +01:00
2026-07-22 15:57:54 +01:00
2026-07-18 19:07:16 +01:00
2026-07-12 23:57:16 +01:00
2026-07-11 16:31:10 +01:00
2026-07-18 19:07:16 +01:00
2026-07-18 12:04:23 +01:00
2026-07-08 01:16:58 +01:00
2026-07-26 12:43:17 +01:00
2026-07-26 11:52:20 +01:00
2026-07-28 10:18:01 +01:00
2026-07-22 19:31:19 +01:00
2026-07-17 00:09:02 +01:00
2026-07-22 15:27:07 +01:00
2026-07-28 10:18:01 +01:00
2026-07-13 10:29:26 +01:00
2026-07-20 11:31:36 +01:00
2026-07-22 18:40:11 +01:00
2026-07-28 10:18:01 +01:00
2026-07-09 13:22:36 +01:00
2026-07-20 16:35:14 +01:00
2026-07-06 16:43:21 +01:00
2026-07-20 15:35:40 +01:00
2026-07-27 10:46:47 +01:00
2026-07-06 16:49:31 +01:00
2026-07-18 19:07:16 +01:00
2026-07-28 09:37:39 +01:00
2026-07-29 17:01:49 +01:00
2026-07-20 11:29:22 +01:00
2026-07-25 22:53:43 +01:00
2026-07-27 10:46:47 +01:00
2026-07-28 09:37:39 +01:00
2026-07-24 23:37:14 +01:00
2026-07-06 16:43:21 +01:00
2026-07-06 16:38:42 +01:00
2026-07-26 11:10:35 +01:00
2026-07-10 02:11:36 +01:00
2026-07-09 10:44:50 +01:00
2026-07-20 11:41:44 +01:00
2026-07-25 23:16:52 +01:00
2026-07-21 12:59:10 +01:00
2026-07-20 15:40:32 +01:00
2026-07-20 11:29:22 +01:00
2026-07-02 22:29:30 +01:00
2026-07-04 22:12:47 +01:00
2026-07-17 10:54:07 +01:00
2026-07-08 12:45:08 +01:00
2026-07-26 11:08:10 +01:00
2026-07-28 10:18:01 +01:00
2026-07-03 18:34:41 +01:00
2026-07-04 22:12:47 +01:00
2026-07-06 12:44:47 +01:00
2026-07-17 00:02:15 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 01:06:02 +01:00
2026-07-21 12:54:58 +01:00
2026-07-16 16:36:49 +01:00
2026-07-04 21:22:39 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 19:51:53 +01:00
2026-07-18 12:03:47 +01:00
2026-07-25 22:53:43 +01:00
2026-07-21 21:45:53 +01:00
2026-07-12 10:36:00 +01:00
2026-07-28 09:37:39 +01:00
2026-07-06 16:38:42 +01:00
2026-07-06 12:36:12 +01:00
2026-07-07 10:57:52 +01:00
2026-07-11 11:31:47 +01:00
2026-07-28 09:37:39 +01:00
2026-07-18 19:07:16 +01:00
2026-07-10 20:24:25 +01:00
2026-07-18 19:09:53 +01:00
2026-07-16 23:36:49 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 15:14:34 +01:00
2026-07-02 12:11:51 +01:00
2026-07-21 21:46:42 +01:00
2026-07-25 22:53:43 +01:00
2026-07-16 16:38:12 +01:00
2026-07-21 14:22:50 +01:00
2026-07-27 10:46:47 +01:00
2026-07-26 11:52:20 +01:00
2026-07-25 15:44:50 +01:00
2026-07-27 10:22:48 +01:00
2026-07-02 11:46:22 +01:00
2026-07-02 22:38:29 +01:00
2026-07-02 22:38:28 +01:00
2026-07-04 03:12:23 +01:00
2026-07-02 22:38:29 +01:00
2026-07-03 16:03:18 +01:00
2026-07-14 23:32:02 +01:00
2026-07-27 10:46:47 +01:00
2026-07-26 11:52:20 +01:00
2026-07-28 10:18:01 +01:00
2026-07-18 12:03:34 +01:00
2026-07-05 10:33:07 +01:00