You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README: Hide authinfo explanation, update Claude 3.7 info
* README.org (Claude 3.7 support, authinfo): Hide authinfo
details. This is causing more confusion than clarity as readers are
faced with two unfamiliar systems (gptel and authinfo
configuration) instead of one.
Update the Claude 3.7 thinking support text -- using a separate
Anthropic backend for this model is now the official solution, as
no Anthropic-only user options are planned for now to set this.
Copy file name to clipboardExpand all lines: README.org
+6-4
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,6 @@ gptel uses Curl if available, but falls back to the built-in url-retrieve to wor
93
93
- [[#setup][Setup]]
94
94
- [[#chatgpt][ChatGPT]]
95
95
- [[#other-llm-backends][Other LLM backends]]
96
-
- [[#optional-securing-api-keys-with-authinfo][(Optional) Securing API keys with =authinfo=]]
97
96
- [[#azure][Azure]]
98
97
- [[#gpt4all][GPT4All]]
99
98
- [[#ollama][Ollama]]
@@ -214,14 +213,17 @@ Once this backend is registered, you'll see model names prefixed by "Claude:" ap
214
213
215
214
See below for details on your preferred LLM provider, including local LLMs.
216
215
217
-
**** (Optional) Securing API keys with =authinfo=
216
+
#+html: <details><summary>
217
+
***** (Optional) Securing API keys with =authinfo=
218
+
#+html: </summary>
218
219
219
220
You can use Emacs' built-in support for =authinfo= to store API keys required by gptel. Add your API keys to =~/.authinfo=, and leave =gptel-api-key= set to its default. By default, the API endpoint DNS name (e.g. "api.openai.com") is used as HOST and "apikey" as USER.
@@ -534,7 +536,7 @@ The above code makes the backend available to select. If you want it to be the
534
536
535
537
***** (Optional) Interim support for Claude 3.7 Sonnet
536
538
537
-
gptel does not yet support specifying LLM "reasoning"/"thinking" behaviors dynamically through its interface. This effort is ongoing, but in the meantime you use the Claude 3.7 Sonnet model in its "thinking" mode by defining a second Claude backend and selecting it in via the UI or elisp:
539
+
To use Claude 3.7 Sonnet model in its "thinking" mode, you can define a second Claude backend and select it via the UI or elisp:
538
540
539
541
#+begin_src emacs-lisp
540
542
(gptel-make-anthropic "Claude-thinking" ;Any name you want
@@ -553,7 +555,7 @@ gptel does not yet support specifying LLM "reasoning"/"thinking" behaviors dynam
553
555
554
556
You can set the reasoning budget tokens and max tokens for this usage via the =:budget_tokens= and =:max_tokens= keys here, respectively.
555
557
556
-
Once proper support for specifying reasoning behaviors is added to gptel's UI this will be unnecessary.
558
+
You can control whether/how the reasoning output is shown via gptel's menu or =gptel-include-reasoning=, see [[#handle-reasoning-content][handling reasoning content]].
0 commit comments