feat: add Google Gemini API support (#535)

This commit is contained in:
Phil 2024-05-08 15:51:32 +02:00 committed by GitHub
parent f5a63eb889
commit 74fc2e6219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 379 additions and 15 deletions

View file

@ -27,6 +27,9 @@ public class ModelIconLabel extends JBLabel {
if ("llama.chat.completion".equals(clientCode)) {
setIcon(Icons.Llama);
}
if ("google.chat.completion".equals(clientCode)) {
setIcon(Icons.Google);
}
setText(formatModelName(modelCode));
setFont(JBFont.small());
setHorizontalAlignment(SwingConstants.LEADING);