mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-10 12:10:14 +00:00
* Initial implementation of Ollama as a service * Fix model selector in tool window * Enable image attachment * Rewrite OllamaSettingsForm in Kt * Create OllamaInlineCompletionModel and use it for building completion template * Add support for blocking code completion on models that we don't know support it * Allow disabling code completion settings * Disable code completion settings when an unsupported model is entered * Track FIM template in settings as a derived state * Update llm-client * Initial implementation of model combo box * Add Ollama icon and display models as list * Make OllamaSettingsState immutable & convert OllamaSettings to Kotlin * Add refresh models button * Distinguish between empty/needs refresh/loading * Avoid storing any model if the combo box is empty * Fix icon size * Back to mutable settings There were some bugs with immutable settings * Store available models in settings state * Expose available models in model dropdown * Add dark icon * Cleanups for CompletionRequestProvider * Fix checkstyle issues * refactor: migrate to SimplePersistentStateComponent * fix: add code completion stop tokens * fix: display only one item in the model popup action group * fix: add back multi model selection --------- Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
22 lines
1.3 KiB
Java
22 lines
1.3 KiB
Java
package ee.carlrobert.codegpt;
|
|
|
|
import com.intellij.openapi.util.IconLoader;
|
|
import javax.swing.Icon;
|
|
|
|
public final class Icons {
|
|
|
|
public static final Icon Default = IconLoader.getIcon("/icons/codegpt.svg", Icons.class);
|
|
public static final Icon DefaultSmall =
|
|
IconLoader.getIcon("/icons/codegpt-small.svg", Icons.class);
|
|
public static final Icon Anthropic = IconLoader.getIcon("/icons/anthropic.svg", Icons.class);
|
|
public static final Icon Azure = IconLoader.getIcon("/icons/azure.svg", Icons.class);
|
|
public static final Icon Llama = IconLoader.getIcon("/icons/llama.svg", Icons.class);
|
|
public static final Icon OpenAI = IconLoader.getIcon("/icons/openai.svg", Icons.class);
|
|
public static final Icon Send = IconLoader.getIcon("/icons/send.svg", Icons.class);
|
|
public static final Icon Sparkle = IconLoader.getIcon("/icons/sparkle.svg", Icons.class);
|
|
public static final Icon You = IconLoader.getIcon("/icons/you.svg", Icons.class);
|
|
public static final Icon YouSmall = IconLoader.getIcon("/icons/you_small.png", Icons.class);
|
|
public static final Icon Ollama = IconLoader.getIcon("/icons/ollama.svg", Icons.class);
|
|
public static final Icon User = IconLoader.getIcon("/icons/user.svg", Icons.class);
|
|
public static final Icon Upload = IconLoader.getIcon("/icons/upload.svg", Icons.class);
|
|
}
|