Weird system prompt switching for custom rules #3118
Unanswered
impankratov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm using custom workflow rules and found interesting behavior.
So I have a custom workflow rule, written in lua with some system prompt.
When I launch it and check the debug info - i see workflow system prompt there.
If i change adapter/model and re-check debug-info - i see that workflow system prompt is replaced by default codecompanion system prompt. So it says
from_custom_promptand specifies custom prompt name, but the content is from codecompanion system prompt.When i set:
Surprisingly enough it makes behavior even more strange: after changing the adapter/model, i get two copies of default codecompanion system prompt: one inserted as regular system prompt message and one inserted as part of my workflow.
Wondering if that's intentional or it's a bug. Because losing the custom workflow prompt on model change seems weird.
This might have something to do with http-adapter
Beta Was this translation helpful? Give feedback.
All reactions