Version 0.8.5
Version 0.8.5 adds the following features:
gptel and Org mode
Additional features are now available when using gptel in Org mode:
- By default the context for a query is the contents of the buffer up to the cursor. You can set the context to be the lineage of the current Org heading by enabling
gptel-org-branching-context
. This makes each heading at a given level a different branch of the conversation. - Limit the conversation context to an Org heading by setting
gptel-org-set-topic
. (This is an alternative to branching context.) - Set the current gptel configuration (backend, model, system message, temperature and max tokens) as Org properties under the current heading with the command
gptel-org-set-properties
. When these properties are present, they override the buffer-specific or global settings. (#141) - On-the-fly conversion of responses to Org mode has been smoothed out further. For best results, ask the LLM to respond only in Markdown if you are using Org mode.
UI
- The current system prompt is now shown (in truncated form) in the header-line in gptel chat buffers (#274).
Bug fixes
Several bugs have been fixed:
- (Anthropic) Attach additional directive correctly when interacting with Anthropic Claude models (#276)
- (Anthropic) Handle edge cases when parsing partial responses (#261)
- (All backends) Fix empty responses caused by json.el parsing errors when libjansson support is not available (#251, #264)
- (Ollama) Fix parsing errors caused by the libjansson transition (#255)
- The dry-run commands now perform an actual dry-run, i.e. everything except sending the queries (#276).
- The cursor can now be moved by functions in
gptel-post-response-hook
. (#269)