mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 05:51:28 +00:00
refactor: clean up unused configuration
This commit is contained in:
parent
1aac1f1084
commit
d0132c6c34
3 changed files with 0 additions and 125 deletions
|
|
@ -2,7 +2,6 @@ package ee.carlrobert.codegpt.settings.configuration;
|
|||
|
||||
import static ee.carlrobert.codegpt.completions.CompletionRequestProvider.COMPLETION_SYSTEM_PROMPT;
|
||||
import static ee.carlrobert.codegpt.completions.CompletionRequestProvider.GENERATE_COMMIT_MESSAGE_SYSTEM_PROMPT;
|
||||
import static ee.carlrobert.codegpt.completions.CompletionRequestProvider.INLINE_COMPLETION_PROMPT;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.components.PersistentStateComponent;
|
||||
|
|
@ -21,10 +20,8 @@ public class ConfigurationState implements PersistentStateComponent<Configuratio
|
|||
|
||||
private String systemPrompt = COMPLETION_SYSTEM_PROMPT;
|
||||
private String commitMessagePrompt = GENERATE_COMMIT_MESSAGE_SYSTEM_PROMPT;
|
||||
private String inlineCompletionPrompt = INLINE_COMPLETION_PROMPT;
|
||||
private int maxTokens = 1000;
|
||||
private double temperature = 0.1;
|
||||
private int inlineDelay = 500;
|
||||
private boolean checkForPluginUpdates = true;
|
||||
private boolean createNewChatOnEachAction;
|
||||
private boolean ignoreGitCommitTokenLimit;
|
||||
|
|
@ -65,22 +62,6 @@ public class ConfigurationState implements PersistentStateComponent<Configuratio
|
|||
this.commitMessagePrompt = commitMessagePrompt;
|
||||
}
|
||||
|
||||
public String getInlineCompletionPrompt() {
|
||||
return inlineCompletionPrompt;
|
||||
}
|
||||
|
||||
public void setInlineCompletionPrompt(String inlineCompletionPrompt) {
|
||||
this.inlineCompletionPrompt = inlineCompletionPrompt;
|
||||
}
|
||||
|
||||
public int getInlineDelay() {
|
||||
return inlineDelay;
|
||||
}
|
||||
|
||||
public void setInlineDelay(int inlineDelay) {
|
||||
this.inlineDelay = inlineDelay;
|
||||
}
|
||||
|
||||
public int getMaxTokens() {
|
||||
return maxTokens;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue