aboutsummaryrefslogtreecommitdiff
path: root/src/config.example.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.example.js')
-rw-r--r--src/config.example.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.example.js b/src/config.example.js
index 84d2a01..b41f4fd 100644
--- a/src/config.example.js
+++ b/src/config.example.js
@@ -48,6 +48,11 @@ window.WX_WIDGET_CONFIG = {
/* Show the "Model: …" line under the header. Set to false to hide it. */
statusLine: true,
+ /* Abort a request when the gateway sends nothing for this many
+ * milliseconds (default 60000). Raise it if your model can take minutes
+ * to produce the first token; the timer resets on every received chunk. */
+ idleTimeoutMs: 60000,
+
/* The assistant's instructions. Write this for your own business. */
systemPrompt:
'You are a helpful assistant for this website. ' +