summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/ModelSelect.tsx
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-09-03 21:58:46 -0700
committerGitHub <noreply@github.com>2023-09-03 21:58:46 -0700
commite645a89192b28cc16a1303bfa5551834c64ecb77 (patch)
tree6da1d0b5f59cef5c9fd9a615119742550fe1ad2c /extension/react-app/src/components/ModelSelect.tsx
parente49c6f55ae0c00bc660bbe885ea44f3a2fb1dc35 (diff)
downloadsncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.tar.gz
sncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.tar.bz2
sncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.zip
refactor: :construction: Initial, not tested, refactor of LLM (#448)
* refactor: :construction: Initial, not tested, refactor of LLM * refactor: :construction: replace usages of _complete with complete * fix: :bug: fixes after refactor * refactor: :recycle: template raw completions in chat format * test: :white_check_mark: simplified edit prompt and UNIT TESTS! * ci: :green_heart: unit tests in ci * fix: :bug: fixes for unit tests in ci * fix: :bug: start uvicorn in tests without poetry * fix: :closed_lock_with_key: add secrets to main.yaml * feat: :adhesive_bandage: timeout for all LLM classes * ci: :green_heart: prepare main.yaml for main branch
Diffstat (limited to 'extension/react-app/src/components/ModelSelect.tsx')
-rw-r--r--extension/react-app/src/components/ModelSelect.tsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/extension/react-app/src/components/ModelSelect.tsx b/extension/react-app/src/components/ModelSelect.tsx
index 1cbf3f0e..83f005c7 100644
--- a/extension/react-app/src/components/ModelSelect.tsx
+++ b/extension/react-app/src/components/ModelSelect.tsx
@@ -13,21 +13,13 @@ import { useSelector } from "react-redux";
const MODEL_INFO: { title: string; class: string; args: any }[] = [
{
title: "gpt-4",
- class: "MaybeProxyOpenAI",
+ class: "OpenAI",
args: {
model: "gpt-4",
api_key: "",
},
},
{
- title: "gpt-3.5-turbo",
- class: "MaybeProxyOpenAI",
- args: {
- model: "gpt-3.5-turbo",
- api_key: "",
- },
- },
- {
title: "claude-2",
class: "AnthropicLLM",
args: {