diff --git a/app/components/emoji.tsx b/app/components/emoji.tsx index 03aac05f..ba234320 100644 --- a/app/components/emoji.tsx +++ b/app/components/emoji.tsx @@ -10,7 +10,7 @@ import BotIcon from "../icons/bot.svg"; import BlackBotIcon from "../icons/black-bot.svg"; export function getEmojiUrl(unified: string, style: EmojiStyle) { - return `https://cdn.staticfile.org/emoji-datasource-apple/14.0.0/img/${style}/64/${unified}.png`; + return `https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/${style}/64/${unified}.png`; } export function AvatarPicker(props: { diff --git a/app/constant.ts b/app/constant.ts index 914886a3..cb24f103 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -68,26 +68,10 @@ export const DEFAULT_MODELS = [ name: "gpt-4", available: true, }, - { - name: "gpt-4-0314", - available: true, - }, - { - name: "gpt-4-0613", - available: true, - }, { name: "gpt-4-32k", available: true, }, - { - name: "gpt-4-32k-0314", - available: true, - }, - { - name: "gpt-4-32k-0613", - available: true, - }, { name: "gpt-4-1106-preview", available: true, @@ -100,20 +84,12 @@ export const DEFAULT_MODELS = [ name: "gpt-3.5-turbo", available: true, }, - { - name: "gpt-3.5-turbo-0301", - available: true, - }, - { - name: "gpt-3.5-turbo-0613", - available: true, - }, { name: "gpt-3.5-turbo-16k", available: true, }, { - name: "gpt-3.5-turbo-16k-0613", + name: "gpt-3.5-turbo-1106", available: true, }, { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73aa524b..6f57b3ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,7 +43,7 @@ dependencies: version: 10.3.1 midjourney: specifier: ^4.3.13 - version: 4.3.13(bufferutil@4.0.7)(utf-8-validate@6.0.3) + version: 4.3.13 nanoid: specifier: ^4.0.2 version: 4.0.2 @@ -124,9 +124,6 @@ devDependencies: '@types/spark-md5': specifier: ^3.0.2 version: 3.0.2 - bufferutil: - specifier: ^4.0.7 - version: 4.0.7 cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -157,9 +154,6 @@ devDependencies: typescript: specifier: 4.9.5 version: 4.9.5 - utf-8-validate: - specifier: ^6.0.3 - version: 6.0.3 webpack: specifier: ^5.88.2 version: 5.88.2(@swc/core@1.3.87) @@ -2901,13 +2895,6 @@ packages: ieee754: 1.2.1 dev: false - /bufferutil@4.0.7: - resolution: {integrity: sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==} - engines: {node: '>=6.14.2'} - requiresBuild: true - dependencies: - node-gyp-build: 4.6.1 - /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} @@ -5044,7 +5031,7 @@ packages: peerDependencies: ws: '*' dependencies: - ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@6.0.3) + ws: 8.13.0 dev: false /jest-worker@27.5.1: @@ -5745,7 +5732,7 @@ packages: picomatch: 2.3.1 dev: true - /midjourney@4.3.13(bufferutil@4.0.7)(utf-8-validate@6.0.3): + /midjourney@4.3.13: resolution: {integrity: sha512-LE15z/Lp0GR9gwYfr2r9mG5AacxRsLc559aF3Z3W5wqy6bqJuDH13wbJ1nKOJ4eCNbIdas0/0cK10tESw6R63Q==} engines: {node: '>=18'} dependencies: @@ -5755,7 +5742,7 @@ packages: semiver: 1.1.0 snowyflake: 2.0.0 tslib: 2.5.3 - ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@6.0.3) + ws: 8.13.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -5915,10 +5902,6 @@ packages: formdata-polyfill: 4.0.10 dev: false - /node-gyp-build@4.6.1: - resolution: {integrity: sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==} - hasBin: true - /node-releases@2.0.12: resolution: {integrity: sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==} @@ -7440,13 +7423,6 @@ packages: react: 18.2.0 dev: false - /utf-8-validate@6.0.3: - resolution: {integrity: sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==} - engines: {node: '>=6.14.2'} - requiresBuild: true - dependencies: - node-gyp-build: 4.6.1 - /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false @@ -7624,7 +7600,7 @@ packages: /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - /ws@8.13.0(bufferutil@4.0.7)(utf-8-validate@6.0.3): + /ws@8.13.0: resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} engines: {node: '>=10.0.0'} peerDependencies: @@ -7635,9 +7611,6 @@ packages: optional: true utf-8-validate: optional: true - dependencies: - bufferutil: 4.0.7 - utf-8-validate: 6.0.3 dev: false /y18n@5.0.8: