[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel ec0e461b35 128/273: gptel-curl: Increased curl timeo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel ec0e461b35 128/273: gptel-curl: Increased curl timeout (#127) |
Date: |
Wed, 1 May 2024 10:02:12 -0400 (EDT) |
branch: elpa/gptel
commit ec0e461b351d4b1ff388d3e4ffb8f898ddac141e
Author: Nick Anderson <nick@cmdln.org>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
gptel-curl: Increased curl timeout (#127)
gptel-curl.arg (gptel-curl--get-args): Increase curl timeout.
Often local LLMs will offload a query to CPU if there is not enough VRAM or
in
the case of an unsupported GPU. When a query is offloaded to the CPU
responses
can be significantly slower. If curl times out early the user will not get
the
response from the LLM back in Emacs.
This change increases the timeout for curl from 60s to 300s to make gptel
usable
in slower environments.
Closes #125
---
gptel-curl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gptel-curl.el b/gptel-curl.el
index 6a0211737d..ae4c993502 100644
--- a/gptel-curl.el
+++ b/gptel-curl.el
@@ -55,7 +55,7 @@ PROMPTS is the data to send, TOKEN is a unique identifier."
(list "--location" "--silent" "--compressed" "--disable"
(format "-X%s" "POST")
(format "-w(%s . %%{size_header})" token)
- (format "-m%s" 60)
+ (format "-m%s" 300)
"-D-"
(format "-d%s" data))
(when (not (string-empty-p gptel-proxy))
- [nongnu] elpa/gptel a7207a3835 097/273: README: Add TOC, (continued)
- [nongnu] elpa/gptel a7207a3835 097/273: README: Add TOC, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel f218388d4d 082/273: gptel-transient: Fix bug when sending in existing session, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 30700cc88a 096/273: README: Mention extensions, gptel-proxy, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 09729ee718 089/273: gptel: Create customization group, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ac754ceb2a 086/273: gptel: Handle read-only gptel-buffers, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel cc6c5e7321 104/273: gptel: saving and restoring state, and limiting context, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 24add64455 114/273: gptel: Adjust how gptel--system-message is set, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 17a58d38e7 135/273: gptel: Fix bug in url-retrieve setup, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 61c0df5e19 119/273: gptel, gptel-curl: Make the gptel text-property non-sticky, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 50a2498259 126/273: README: Tweak instructions for local LLMs, mention #120, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ec0e461b35 128/273: gptel-curl: Increased curl timeout (#127),
ELPA Syncer <=
- [nongnu] elpa/gptel d5949ef428 140/273: gptel-curl: handle large Curl payloads with a temp file (#137), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 0ea3c7fb15 143/273: gptel-transient: Improve suffix message editor, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ce75072f9d 152/273: gptel: Bump version, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3af2650342 170/273: gptel-transient: save window state when ediff, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel e67ed41e31 173/273: README: Specify: no key needed for llama backend, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 1fcb4606a2 184/273: Fix compilation warning in gptel-openai.el, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel b3d028d074 185/273: Add .gitignore, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 5465271541 207/273: gptel: Add gpt-4-0125-preview to model list (Fix #215), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 43f625ecb9 209/273: gptel-openai: curl-args slot in gptel-backend (#221), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d502ad8ecb 222/273: test-gptel-org: Add markdown conversion tests, ELPA Syncer, 2024/05/01