Skip to content

Commit 913e9db

Browse files
committed
gptel: Update docstrings, GPTel to gptel
* gptel.el (gptel-curl-file-size-threshold): Update spelling "GPTel" to "gptel". * gptel-transient.el: Ditto * gptel-curl.el (gptel-curl--stream-cleanup): Ditto * gptel-context.el: Ditto
1 parent 833d2a6 commit 913e9db

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

gptel-context.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; gptel-context.el --- Context aggregator for GPTel -*- lexical-binding: t; -*-
1+
;;; gptel-context.el --- Context aggregator for gptel -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2023 Karthik Chikmagalur
44

@@ -23,7 +23,7 @@
2323
;;; Commentary:
2424

2525
;; The context allows you to conveniently create contexts which can be fed
26-
;; to GPTel.
26+
;; to gptel.
2727

2828
;;; Code:
2929

gptel-curl.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; gptel-curl.el --- Curl support for GPTel -*- lexical-binding: t; -*-
1+
;;; gptel-curl.el --- Curl support for gptel -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2023 Karthik Chikmagalur
44

@@ -22,7 +22,7 @@
2222

2323
;;; Commentary:
2424

25-
;; Curl support for GPTel. Utility functions.
25+
;; Curl support for gptel. Utility functions.
2626

2727
;;; Code:
2828

@@ -205,7 +205,7 @@ PROC-INFO is the plist containing process metadata."
205205

206206
;; TODO: Separate user-messaging from this function
207207
(defun gptel-curl--stream-cleanup (process _status)
208-
"Process sentinel for GPTel curl requests.
208+
"Process sentinel for gptel curl requests.
209209
210210
PROCESS and _STATUS are process parameters."
211211
(let ((proc-buf (process-buffer process)))

gptel-transient.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; gptel-transient.el --- Transient menu for GPTel -*- lexical-binding: t; -*-
1+
;;; gptel-transient.el --- Transient menu for gptel -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2023 Karthik Chikmagalur
44

gptel.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ This only affects requests originating from Org mode buffers."
248248
"Size threshold for using file input with Curl.
249249
250250
Specifies the size threshold for when to use a temporary file to pass data to
251-
Curl in GPTel queries. If the size of the data to be sent exceeds this
251+
Curl in gptel queries. If the size of the data to be sent exceeds this
252252
threshold, the data is written to a temporary file and passed to Curl using the
253253
`--data-binary' option with a file reference. Otherwise, the data is passed
254254
directly as a command-line argument.
255255
256256
The value is an integer representing the number of bytes.
257257
258258
Adjusting this value may be necessary depending on the environment
259-
and the typical size of the data being sent in GPTel queries.
259+
and the typical size of the data being sent in gptel queries.
260260
A larger value may improve performance by avoiding the overhead of creating
261261
temporary files for small data payloads, while a smaller value may be needed
262262
if the command-line argument size is limited by the operating system.

0 commit comments

Comments
 (0)