Skip to content

Commit

Permalink
去除gemini代理配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Bistutu committed Apr 17, 2024
1 parent 3a2d472 commit d4aa418
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entrypoints/utils/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import {services} from "./option";

export const app = {
version: "0.0.2",
version: "0.0.3",
}

export const urls = {
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/utils/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const services = {
// 需要 model
useModel: new Set(["openai", "gemini", "yiyan", "tongyi", "zhipu", "moonshot", "claude", "ollama", "infini"]),
// 支持代理
useProxy: new Set(["openai", "gemini", "claude", "google"]),
useProxy: new Set(["openai", "claude", "google"]),
// 函数
isMachine: (service: string) => services.machine.has(service),
isAI: (service: string) => services.ai.has(service),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "流畅阅读",
"description": "拥有基于上下文语境的人工智能翻译引擎,为网站提供更加友好的翻译,让所有人都能够拥有基于母语般的阅读体验",
"private": true,
"version": "0.0.2",
"version": "0.0.3",
"type": "module",
"scripts": {
"dev": "wxt",
Expand Down

0 comments on commit d4aa418

Please sign in to comment.