xenodium / chatgpt-shell

A multi-llm Emacs shell (ChatGPT, Claude, Gemini, Ollama) + editing integrations
https://lmno.lol/alvaro
GNU General Public License v3.0
862 stars 77 forks source link

Can't fold #+RESULT: section in org-babel #183

Closed archcst closed 10 months ago

archcst commented 10 months ago

With org-babel, you can use TAB to fold #+RESULT: section.

#+begin_src python
  return "hello world"
#+end_src

#+RESULTS:
: hello world

but with ob-chatgpt-shell-setup the #+RESULT: can't be fold

#+begin_src chatgpt-shell :context emacs :system "" :temperature 0.4 :version "gpt-4-1106-preview"
Hi.
#+end_src

#+RESULTS:
Hello! How can I assist you today? If you have any questions or need information on a specific topic, feel free to ask.
xenodium commented 10 months ago

Thanks for filing. Fixed in https://github.com/xenodium/chatgpt-shell/commit/0274c8b0c35695f75ac7248e177fe8179eb31017. Please give that a go.

archcst commented 10 months ago

Thank You for Addressing the Issue! It works great now!

#+begin_src chatgpt-shell :context emacs :system "" :temperature 0.4 :version "gpt-4-1106-preview"
Hi.
#+end_src

#+RESULTS:
: Hello! How can I help you today? If you have any questions or need assistance with something, feel free to ask.
xenodium commented 10 months ago

Glad to hear :)