feat: introduce openai and anthropic models for subscribed users

This commit is contained in:
Carl-Robert Linnupuu 2024-06-06 00:03:25 +03:00
parent 590635bd62
commit fdb2fb98e0
20 changed files with 317 additions and 100 deletions

View file

@ -1,6 +1,7 @@
package ee.carlrobert.codegpt;
import com.intellij.openapi.util.Key;
import ee.carlrobert.llm.client.codegpt.CodeGPTUserDetails;
import java.util.List;
public class CodeGPTKeys {
@ -11,4 +12,6 @@ public class CodeGPTKeys {
Key.create("codegpt.selectedFiles");
public static final Key<String> IMAGE_ATTACHMENT_FILE_PATH =
Key.create("codegpt.imageAttachmentFilePath");
public static final Key<CodeGPTUserDetails> CODEGPT_USER_DETAILS =
Key.create("codegpt.userDetails");
}