mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 13:10:50 +00:00
chore: bump sinceBuild and javaVersion
This commit is contained in:
parent
6b2bcc4bf6
commit
1edea138cf
7 changed files with 6 additions and 12 deletions
|
|
@ -17,11 +17,9 @@ import ee.carlrobert.codegpt.util.file.FileUtil;
|
|||
import ee.carlrobert.llm.client.openai.completion.ErrorDetails;
|
||||
import ee.carlrobert.llm.completion.CompletionEventListener;
|
||||
import java.io.IOException;
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
import javax.swing.SwingUtilities;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ParametersAreNonnullByDefault
|
||||
class CodeCompletionEventListener implements CompletionEventListener<String> {
|
||||
|
||||
private static final Logger LOG = Logger.getInstance(CodeCompletionEventListener.class);
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@ import ee.carlrobert.codegpt.completions.llama.LlamaModel;
|
|||
import ee.carlrobert.codegpt.settings.service.llama.LlamaSettings;
|
||||
import ee.carlrobert.llm.client.llama.completion.LlamaCompletionRequest;
|
||||
import ee.carlrobert.llm.client.openai.completion.request.OpenAITextCompletionRequest;
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
||||
@ParametersAreNonnullByDefault
|
||||
public class CodeCompletionRequestProvider {
|
||||
|
||||
private static final int MAX_TOKENS = 128;
|
||||
|
|
|
|||
|
|
@ -42,12 +42,10 @@ import java.util.Optional;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.regex.PatternSyntaxException;
|
||||
import java.util.stream.Stream;
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
import javax.swing.KeyStroke;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@Service(PROJECT)
|
||||
@ParametersAreNonnullByDefault
|
||||
public final class CodeCompletionService implements Disposable {
|
||||
|
||||
public static final String APPLY_INLAY_ACTION_ID = "ApplyInlayAction";
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ import java.awt.BorderLayout;
|
|||
import java.awt.FlowLayout;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.swing.Box;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.SwingUtilities;
|
||||
import okhttp3.sse.EventSource;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class CustomServiceForm {
|
||||
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@ import java.util.Arrays;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.SwingConstants;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class LlamaServerPreferencesForm {
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import ee.carlrobert.codegpt.CodeGPTBundle;
|
|||
import ee.carlrobert.codegpt.credentials.OpenAICredentialManager;
|
||||
import ee.carlrobert.codegpt.ui.UIUtil;
|
||||
import ee.carlrobert.llm.client.openai.completion.OpenAIChatCompletionModel;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.swing.JPanel;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class OpenAISettingsForm {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue