Skip to content

Commit 5005532

Browse files
committed
chore: fix tests
1 parent b45d09f commit 5005532

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ OPENCODE_MODEL_ID=big-pickle
7777
# If exceeded, the bot stops waiting for the result and marks the run as failed.
7878
# SCHEDULED_TASK_EXECUTION_TIMEOUT_MINUTES=120
7979

80-
# Stream update throttle in milliseconds for assistant/tool message edits (default: 500)
80+
# Stream update throttle in milliseconds for assistant/tool message edits (default: 1000)
8181
# Higher value = fewer Telegram edit requests, lower value = more real-time updates
82-
# RESPONSE_STREAM_THROTTLE_MS=500
82+
# RESPONSE_STREAM_THROTTLE_MS=1000
8383

8484
# Maximum displayed length for bash tool commands in Telegram summaries (default: 128)
8585
# Longer commands are truncated with "..."

tests/config.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe("config boolean env parsing", () => {
165165

166166
const config = await loadConfig();
167167

168-
expect(config.bot.responseStreamThrottleMs).toBe(500);
168+
expect(config.bot.responseStreamThrottleMs).toBe(1000);
169169
});
170170

171171
it("parses RESPONSE_STREAM_THROTTLE_MS as a positive integer", async () => {
@@ -181,7 +181,7 @@ describe("config boolean env parsing", () => {
181181

182182
const config = await loadConfig();
183183

184-
expect(config.bot.responseStreamThrottleMs).toBe(500);
184+
expect(config.bot.responseStreamThrottleMs).toBe(1000);
185185
});
186186

187187
it("uses default bash tool display length when env is missing", async () => {

0 commit comments

Comments
 (0)