From e27e8fb0e16ee61865d11606682f2c4cbd075e73 Mon Sep 17 00:00:00 2001 From: "Nacho.L" <112751823+fengzai6@users.noreply.github.com> Date: Fri, 13 Dec 2024 07:22:16 +0800 Subject: [PATCH 1/4] Update google models --- app/constant.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 25c8d98eae3..429d52b3db4 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -317,13 +317,14 @@ const openaiModels = [ ]; const googleModels = [ - "gemini-1.0-pro", + "gemini-1.0-pro", // Deprecated on 2/15/2025 "gemini-1.5-pro-latest", "gemini-1.5-flash-latest", + "gemini-1.5-flash-8b-latest", "gemini-exp-1114", "gemini-exp-1121", "learnlm-1.5-pro-experimental", - "gemini-pro-vision", + "gemini-2.0-flash-exp", ]; const anthropicModels = [ From 46a0b100f73058d651b884341b43e126e2c04a00 Mon Sep 17 00:00:00 2001 From: "Nacho.L" <112751823+fengzai6@users.noreply.github.com> Date: Fri, 13 Dec 2024 08:29:43 +0800 Subject: [PATCH 2/4] Update versionKeywords --- app/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils.ts b/app/utils.ts index b62bc126da7..30f95fa02eb 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -261,6 +261,7 @@ export function isVisionModel(model: string) { "claude-3", "gemini-1.5", "gemini-exp", + "gemini-2.0", "learnlm", "qwen-vl", "qwen2-vl", From e939ce5a027150d2481508691e1c4f818a4f9130 Mon Sep 17 00:00:00 2001 From: InitialXKO <45725592+InitialXKO@users.noreply.github.com> Date: Fri, 13 Dec 2024 22:29:14 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E9=9D=A2=E5=85=B7=E2=80=9C=E4=BB=A5?= =?UTF-8?q?=E6=96=87=E6=90=9C=E5=9B=BE=E2=80=9D=E6=94=B9=E6=88=90=E2=80=9C?= =?UTF-8?q?AI=E6=96=87=E7=94=9F=E5=9B=BE=E2=80=9D=EF=BC=8C=E5=BE=AE?= =?UTF-8?q?=E8=B0=83=E6=8F=90=E7=A4=BA=E8=AE=A9=E5=9B=BE=E7=89=87=E7=94=9F?= =?UTF-8?q?=E6=88=90=E6=9B=B4=E7=A8=B3=E5=AE=9A=E6=97=A0=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/masks/cn.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/masks/cn.ts b/app/masks/cn.ts index ed507d7344e..64842f6e892 100644 --- a/app/masks/cn.ts +++ b/app/masks/cn.ts @@ -3,7 +3,7 @@ import { BuiltinMask } from "./typing"; export const CN_MASKS: BuiltinMask[] = [ { avatar: "1f5bc-fe0f", - name: "以文搜图", + name: "AI文生图", context: [ { id: "text-to-pic-0", @@ -28,7 +28,7 @@ export const CN_MASKS: BuiltinMask[] = [ id: "text-to-pic-3", role: "system", content: - "助手善于判断用户意图,当确定需要提供图片时,助手会变得沉默寡言,只使用以下格式输出markdown图片:![描述](https://image.pollinations.ai/prompt/描述),因为这个语法可以自动按照提示生成并渲染图片。一般用户给出的描述会比较简单并且信息不足,助手会将其中的描述自行补足替换为AI生成图片所常用的复杂冗长的英文提示,以大幅提高生成图片质量和丰富程度,比如增加相机光圈、具体场景描述等内容。助手会避免用代码块或原始块包围markdown标记,因为那样只会渲染出代码块或原始块而不是图片。", + "助手善于判断用户意图,当确定需要提供图片时,助手会变得沉默寡言,只使用以下格式输出markdown图片:![description](https://image.pollinations.ai/prompt/description?nologo=true),因为这个语法可以自动按照提示生成并渲染图片。一般用户给出的描述会比较简单并且信息不足,助手会将其中的描述自行补足替换为AI生成图片所常用的复杂冗长的英文提示,以大幅提高生成图片质量和丰富程度,比如增加相机光圈、具体场景描述等内容。助手会避免用代码块或原始块包围markdown标记,因为那样只会渲染出代码块或原始块而不是图片。url中的空格等符号需要转义。", date: "", }, ], From acdded8161860def9fe0f3806798bcdc57754644 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:57:34 +0000 Subject: [PATCH 4/4] chore(deps-dev): bump @testing-library/react from 16.0.1 to 16.1.0 Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 16.0.1 to 16.1.0. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v16.0.1...v16.1.0) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f7b544bb2e5..e081567a4b1 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@tauri-apps/cli": "1.5.11", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^16.0.1", + "@testing-library/react": "^16.1.0", "@types/jest": "^29.5.14", "@types/js-yaml": "4.0.9", "@types/lodash-es": "^4.17.12", diff --git a/yarn.lock b/yarn.lock index ff257a3ef6f..dffc35e9cb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2127,10 +2127,10 @@ lodash "^4.17.21" redent "^3.0.0" -"@testing-library/react@^16.0.1": - version "16.0.1" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-16.0.1.tgz#29c0ee878d672703f5e7579f239005e4e0faa875" - integrity sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg== +"@testing-library/react@^16.1.0": + version "16.1.0" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-16.1.0.tgz#aa0c61398bac82eaf89776967e97de41ac742d71" + integrity sha512-Q2ToPvg0KsVL0ohND9A3zLJWcOXXcO8IDu3fj11KhNt0UlCWyFyvnCIBkd12tidB2lkiVRG8VFqdhcqhqnAQtg== dependencies: "@babel/runtime" "^7.12.5"