summaryrefslogtreecommitdiff
path: root/continuedev/src/continuedev/core
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-09-30 12:35:46 -0700
committerGitHub <noreply@github.com>2023-09-30 12:35:46 -0700
commitcc396503cb0322dda2cf97a13737bb346ff8d8d7 (patch)
treef01c74b33ef831a022906abf9393353ff9fa871e /continuedev/src/continuedev/core
parent87e4a6289c3cbb54d4c227b90640ae77aa7cebc1 (diff)
downloadsncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.tar.gz
sncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.tar.bz2
sncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.zip
adding support for the google palm api (#524)
* adding support for palm api * docs: :bug: update modelData to new format --------- Co-authored-by: Nate Sesti <sestinj@gmail.com>
Diffstat (limited to 'continuedev/src/continuedev/core')
-rw-r--r--continuedev/src/continuedev/core/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/continuedev/src/continuedev/core/models.py b/continuedev/src/continuedev/core/models.py
index 2396a0db..9b8d26d5 100644
--- a/continuedev/src/continuedev/core/models.py
+++ b/continuedev/src/continuedev/core/models.py
@@ -5,6 +5,7 @@ from pydantic import BaseModel
from ..libs.llm import LLM
from ..libs.llm.anthropic import AnthropicLLM
from ..libs.llm.ggml import GGML
+from ..libs.llm.google_palm_api import GooglePaLMAPI
from ..libs.llm.hf_inference_api import HuggingFaceInferenceAPI
from ..libs.llm.hf_tgi import HuggingFaceTGI
from ..libs.llm.llamacpp import LlamaCpp
@@ -39,6 +40,7 @@ MODEL_CLASSES = {
LlamaCpp,
HuggingFaceInferenceAPI,
HuggingFaceTGI,
+ GooglePaLMAPI,
]
}
@@ -53,6 +55,7 @@ MODEL_MODULE_NAMES = {
"LlamaCpp": "llamacpp",
"HuggingFaceInferenceAPI": "hf_inference_api",
"HuggingFaceTGI": "hf_tgi",
+ "GooglePaLMAPI": "google_palm_api",
}