You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user-configured System Prompt does not seem to be effective. Upon inspecting the code, I observed that the system prompt is consistently read from default-completion-system-prompt.txt. The method ConfigurationSettings.getCurrentState().getSystemPrompt() is invoked only once in OpenAIChatCompletionMessage.
The situation with the commit message prompt is the same.
relate code:
CompletionRequestProvider.java
public static final String COMPLETION_SYSTEM_PROMPT = getResourceContent(
"/prompts/default-completion-system-prompt.txt");
public static final String GENERATE_COMMIT_MESSAGE_SYSTEM_PROMPT = getResourceContent(
"/prompts/generate-commit-message-system-prompt.txt");
var systemPrompt = COMPLETION_SYSTEM_PROMPT;
Relevant log output or stack trace
none
Steps to reproduce
just set a new new System Prompt in Configuration, it doesn't work
CodeGPT version
1.16.0
Operating System
None
The text was updated successfully, but these errors were encountered:
What happened?
The user-configured System Prompt does not seem to be effective. Upon inspecting the code, I observed that the system prompt is consistently read from
default-completion-system-prompt.txt.
The methodConfigurationSettings.getCurrentState().getSystemPrompt()
is invoked only once in OpenAIChatCompletionMessage.The situation with the commit message prompt is the same.
relate code:
Relevant log output or stack trace
Steps to reproduce
just set a new new System Prompt in Configuration, it doesn't work
CodeGPT version
1.16.0
Operating System
None
The text was updated successfully, but these errors were encountered: