diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2023-10-18 23:27:15 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2023-10-18 23:30:20 -0700 |
commit | 08f38574fa2633bbf709d24e1c79417d4285ba61 (patch) | |
tree | 6a60ee3f013295b56d6d2c1c67f46761054023b1 /extension/react-app/src/components/ModelSelect.tsx | |
parent | 9168219b829aab55fefcb114937d3fc196548cde (diff) | |
download | sncontinue-08f38574fa2633bbf709d24e1c79417d4285ba61.tar.gz sncontinue-08f38574fa2633bbf709d24e1c79417d4285ba61.tar.bz2 sncontinue-08f38574fa2633bbf709d24e1c79417d4285ba61.zip |
cleanup ui
Diffstat (limited to 'extension/react-app/src/components/ModelSelect.tsx')
-rw-r--r-- | extension/react-app/src/components/ModelSelect.tsx | 74 |
1 files changed, 2 insertions, 72 deletions
diff --git a/extension/react-app/src/components/ModelSelect.tsx b/extension/react-app/src/components/ModelSelect.tsx index cd27067f..faa64f69 100644 --- a/extension/react-app/src/components/ModelSelect.tsx +++ b/extension/react-app/src/components/ModelSelect.tsx @@ -16,22 +16,6 @@ import { useNavigate } from "react-router-dom"; const MODEL_INFO: { title: string; class: string; args: any }[] = [ { - title: "OpenAI", - class: "OpenAI", - args: { - model: "gpt-4", - api_key: "", - }, - }, - { - title: "Anthropic", - class: "AnthropicLLM", - args: { - model: "claude-2", - api_key: "<ANTHROPIC_API_KEY>", - }, - }, - { title: "Ollama", class: "Ollama", args: { @@ -39,64 +23,10 @@ const MODEL_INFO: { title: string; class: string; args: any }[] = [ }, }, { - title: "TogetherAI", - class: "TogetherLLM", - args: { - model: "togethercomputer/CodeLlama-13b-Instruct", - api_key: "<TOGETHER_API_KEY>", - }, - }, - { - title: "Replicate", - class: "ReplicateLLM", - args: { - model: - "replicate/llama-2-70b-chat:58d078176e02c219e11eb4da5a02a7830a283b14cf8f94537af893ccff5ee781", - api_key: "<REPLICATE_API_KEY>", - }, - }, - { title: "llama.cpp", class: "LlamaCpp", args: {}, - }, - { - title: "HuggingFace Inference API", - class: "HuggingFaceInferenceAPI", - args: { - endpoint_url: "<INFERENCE_API_ENDPOINT_URL>", - hf_token: "<HUGGING_FACE_TOKEN>", - }, - }, - { - title: "Google PaLM API", - class: "GooglePaLMAPI", - args: { - model: "chat-bison-001", - api_key: "<MAKERSUITE_API_KEY>", - }, - }, - { - title: "LM Studio", - class: "GGML", - args: { - server_url: "http://localhost:1234", - }, - }, - { - title: "Other OpenAI-compatible API", - class: "GGML", - args: { - server_url: "<SERVER_URL>", - }, - }, - { - title: "GPT-4 limited free trial", - class: "OpenAIFreeTrial", - args: { - model: "gpt-4", - }, - }, + } ]; const GridDiv = styled.div` @@ -196,7 +126,7 @@ function ModelSelect(props: {}) { idx: -1, })} > - OpenAIFreeTrial - gpt-4 + Ollama </option> )} {defaultModel && ( |