Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
UN-2896 [MISC] Correct the V2 adapter's env var docs
The README still listed ADAPTER_LLMW_POLL_INTERVAL and ADAPTER_LLMW_MAX_POLLS,
which only V1 ever read, and the WhispererEnv docstring quoted a 300s default
where the code uses 900. Document the four vars V2 actually resolves.
  • Loading branch information
Deepak-Kesavan committed Sep 7, 2026
commit 56a08ac1d4fcecf9c7d6e8930d700d892c245ea4
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

The below env variables are resolved by LLMWhisperer adapter

| Variable | Description |
| ---------------------------- | -------------------------------------------------------------------------------------------- |
| `ADAPTER_LLMW_POLL_INTERVAL` | Time in seconds to wait before polling LLMWhisperer's status API. Defaults to 30s |
| `ADAPTER_LLMW_MAX_POLLS` | Total number of times to poll the status API. Defaults to 30 |
| Variable | Description |
| ----------------------------- | ------------------------------------------------------------------------------- |
| `ADAPTER_LLMW_WAIT_TIMEOUT` | Time in seconds to wait for the extraction to finish. Defaults to 900s |
| `ADAPTER_LLMW_MAX_RETRIES` | Number of times a failed request is retried. Defaults to 3 |
| `ADAPTER_LLMW_RETRY_MIN_WAIT` | Lower bound in seconds for the backoff between retries. Defaults to 1.0 |
| `ADAPTER_LLMW_RETRY_MAX_WAIT` | Upper bound in seconds for the backoff between retries. Defaults to 60.0 |


---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ class WhispererEnv:
Can be used to alter behaviour at runtime.

Attributes:
WAIT_TIMEOUT: Timeout for the extraction in seconds. Defaults to 300s
WAIT_TIMEOUT: Timeout for the extraction in seconds. Defaults to 900s
MAX_RETRIES: Number of times a failed request is retried. Defaults to 3
RETRY_MIN_WAIT: Lower bound in seconds for the retry backoff. Defaults to 1.0
RETRY_MAX_WAIT: Upper bound in seconds for the retry backoff. Defaults to 60.0
LOG_LEVEL: Logging level for the client library. Defaults to INFO
"""

Expand Down