Skip to content

Commit cc4a4eb

Browse files
committed
0.5.6
1 parent d8d2c5d commit cc4a4eb

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [0.5.6] - 2025-04-19
4+
### Added
5+
- Google / gemini support
6+
- Extend list of `org-ai-chat-models`
7+
- Add ai block to org-structure-template-alist [#148](https://github.com/rksm/org-ai/pull/148) (thanks @isamert!)
8+
- Add support for deepseek-chat and deepseek-reasoner models [#147](https://github.com/rksm/org-ai/pull/147) (once again thank you @isamert!)
9+
10+
### Changed
11+
- Streaming is now support for o1 and o3
12+
- Fix marking functions [#145](https://github.com/rksm/org-ai/pull/145) (thanks @togakangaroo!)
13+
314
## [0.5.5] - 2025-01-31
415
### Added
516
- Allow saving generated images as org attachements. Set `org-ai-save-image-as-attachment` to `t` to enable this behavior. Thanks @kpzart!

org-ai-openai.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ messages."
150150
`MODEL' is the model name."
151151
(cond
152152
((string-prefix-p "gpt-" model) 'openai)
153+
((string-prefix-p "chatgpt-" model) 'openai)
153154
((string-prefix-p "o1" model) 'openai)
154155
((string-prefix-p "o3" model) 'openai)
155156
((string-prefix-p "o4" model) 'openai)
@@ -817,7 +818,8 @@ and the length in chars of the pre-change text replaced by that range."
817818
`SERVICE' is the service to use. `MODEL' is the model to use."
818819
;; stream not supported by openai o1 models
819820
(not (and (or (eq service 'openai) (eq service 'azure-openai))
820-
(or (string-prefix-p "o1" model) (string-prefix-p "o3" model)))))
821+
(or
822+
(string-prefix-p "o1-pro" model)))))
821823

822824
(defun org-ai-interrupt-current-request ()
823825
"Interrupt the current request."

org-ai.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
;; Author: Robert Krahn <robert@kra.hn>
66
;; URL: https://github.com/rksm/org-ai
7-
;; Version: 0.5.5
7+
;; Version: 0.5.6
88
;; Package-Requires: ((emacs "27.1") (websocket "1.15"))
99

1010
;; This file is NOT part of GNU Emacs.

0 commit comments

Comments
 (0)