diff --git a/package.json b/package.json index e5163366..ce0163f2 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@aws-sdk/client-s3": "3.726.1", "@headlessui/react": "^1.7.19", "@headlessui/tailwindcss": "^0.2.1", "@heroicons/react": "^2.1.4", @@ -28,6 +29,8 @@ "eslint": "9.14.0", "eslint-config-next": "15.0.3", "focus-visible": "^5.2.0", + "i18next": "^23.11.5", + "lodash": "^4.17.21", "lodash.debounce": "^4.0.8", "next": "14.2.32", "postcss-focus-visible": "^6.0.4", @@ -40,14 +43,12 @@ "react-router-dom": "^6.10.0", "rxjs": "^7.8.1", "tailwindcss": "^3.4.4", - "typescript": "^5.1.3", - "@aws-sdk/client-s3": "3.726.1", - "i18next": "^23.11.5", - "lodash": "^4.17.21" + "tinycolor2": "^1.6.0", + "typescript": "^5.1.3" }, "devDependencies": { "autoprefixer": "^10.4.15", "postcss": "^8.4.28", "tailwindcss": "^3.1.8" } -} \ No newline at end of file +} diff --git a/src/components/projects/projectId/attributes/attributeId/LLM/models/PrivatemodeAi.tsx b/src/components/projects/projectId/attributes/attributeId/LLM/models/PrivatemodeAi.tsx index 934ae296..155ceb21 100644 --- a/src/components/projects/projectId/attributes/attributeId/LLM/models/PrivatemodeAi.tsx +++ b/src/components/projects/projectId/attributes/attributeId/LLM/models/PrivatemodeAi.tsx @@ -3,12 +3,8 @@ import KernDropdown from "@/submodules/react-components/components/KernDropdown" import { InfoButton } from "@/submodules/react-components/components/InfoButton"; import { InputWithSlider } from "@/submodules/react-components/components/InputWithSlider"; import { LLmPropsPrivatemodeAI } from "../types"; +import { MODEL_MAP_FULL_NAME } from "@/submodules/javascript-functions/constants"; - -export const MODEL_MAP_FULL_NAME = { - 'Meta-Llama-3.3-70B': "ibnzterrell/Meta-Llama-3.3-70B-Instruct-AWQ-INT4", - 'gemma-3-27b': "leon-se/gemma-3-27b-it-fp8-dynamic", -} const REVERSE_MAP_FULL_NAME = Object.fromEntries(Object.entries(MODEL_MAP_FULL_NAME).map(([key, value]) => [value, key])); export const MODEL_OPTIONS = Object.keys(MODEL_MAP_FULL_NAME); const MODEL_MAP_FULL_NAME_OPTIONS = Object.keys(REVERSE_MAP_FULL_NAME); diff --git a/src/components/shared/sidebar/Sidebar.tsx b/src/components/shared/sidebar/Sidebar.tsx index 7acf40b5..8155836a 100644 --- a/src/components/shared/sidebar/Sidebar.tsx +++ b/src/components/shared/sidebar/Sidebar.tsx @@ -181,7 +181,7 @@ export default function Sidebar() {
- v1.21.0 + v1.21.5 {hasUpdates && } diff --git a/submodules/javascript-functions b/submodules/javascript-functions index 8c2d9f35..bbb6d3a4 160000 --- a/submodules/javascript-functions +++ b/submodules/javascript-functions @@ -1 +1 @@ -Subproject commit 8c2d9f3569eb3b901821e204747a1b4e9e658cb5 +Subproject commit bbb6d3a4875ecf198824d74084eed9433596da75 diff --git a/submodules/react-components b/submodules/react-components index dc19bd9a..6bf5780b 160000 --- a/submodules/react-components +++ b/submodules/react-components @@ -1 +1 @@ -Subproject commit dc19bd9ace5aa4d7c3cdab984c0383c815959500 +Subproject commit 6bf5780b4f12f4b01d237b6266565afb35ec2226