Skip to content

Pass :system message when neither :prompt nor :session is there#5

Open
vderyagin wants to merge 1 commit into
jwiegley:mainfrom
vderyagin:pass-system-prompt
Open

Pass :system message when neither :prompt nor :session is there#5
vderyagin wants to merge 1 commit into
jwiegley:mainfrom
vderyagin:pass-system-prompt

Conversation

@vderyagin

Copy link
Copy Markdown

before:

#+begin_src gptel :system "RESPOND IN ALL CAPS" :dry-run yes
tell me a joke
#+end_src

#+RESULTS:
: (:model "llama3.1:latest" :messages [(:role "user" :content "tell me a joke")]
:         :stream :json-false :options (:temperature 1.0))

after:

#+begin_src gptel :system "RESPOND IN ALL CAPS" :dry-run yes
tell me a joke
#+end_src

#+RESULTS:
: (:model "llama3.1:latest" :messages
:         [(:role "system" :content "RESPOND IN ALL CAPS")
:          (:role "user" :content "tell me a joke")]
:         :stream :json-false :options (:temperature 1.0))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant