Update config.toml
Browse files- config.toml +21 -32
config.toml
CHANGED
@@ -1,16 +1,3 @@
|
|
1 |
-
# ##
|
2 |
-
#
|
3 |
-
# [DANGER]
|
4 |
-
# The example file here is outdated,
|
5 |
-
# please visit the official documentation to get the latest configuration file example.
|
6 |
-
#
|
7 |
-
# 🔗 https://wibus-wee.github.io/raycast-unblock/
|
8 |
-
#
|
9 |
-
# [WARNING]
|
10 |
-
# The example file here only keeps the minimum available configuration,
|
11 |
-
# please refer to the official documentation for more configuration items.
|
12 |
-
# ##
|
13 |
-
|
14 |
[General]
|
15 |
# If you deploy this service on a remote server,
|
16 |
# it is recommended to set mode to "remote", maybe one day this program will be used
|
@@ -30,7 +17,7 @@ watch = false
|
|
30 |
# If you want to use HTTPS, you can set the following configuration
|
31 |
# enabled = true
|
32 |
# # You can specify the host to the certificate file (auto generate mode)
|
33 |
-
# host = '192.168.
|
34 |
# # You can also specify the path to your existing certificate file
|
35 |
# key = "path
|
36 |
# cert = "path"
|
@@ -57,7 +44,7 @@ plugins = [
|
|
57 |
]
|
58 |
|
59 |
[AI.Functions.Serp]
|
60 |
-
|
61 |
# tavily_ai_api_key = "" # Tavily currently doesn't support.
|
62 |
|
63 |
[AI.OpenAI]
|
@@ -84,11 +71,11 @@ api_key = "sk-uFCx2OYWLKJaHtfy7b0cBc517f3c4cF5A1279c855f9f6aE6"
|
|
84 |
# Custom OpenAI Model
|
85 |
# You can add your own OpenAI model just like the following:
|
86 |
# # [NOTICE] You shouldn't use the dot in the model name. It will be parsed as a section
|
87 |
-
[AI.OpenAI.Models.
|
88 |
-
id = "gpt-4-
|
89 |
-
model = "gpt-4-
|
90 |
-
name = "GPT-4
|
91 |
-
description = "GPT-4
|
92 |
# speed = 3 # if it's not provided, the default value will be used.
|
93 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
94 |
# context = 8 # if it's not provided, the default value will be used.
|
@@ -97,24 +84,24 @@ description = "GPT-4 is OpenAI’s most capable model with broad general knowled
|
|
97 |
# image_generation = true # Not supported yet
|
98 |
# web_search = true # The premise is that the model needs to support Function Call.
|
99 |
|
100 |
-
[AI.OpenAI.Models.
|
101 |
-
id = "gpt-4-turbo"
|
102 |
-
model = "gpt-4-turbo"
|
103 |
-
name = "GPT-4
|
104 |
-
description = "GPT-4
|
105 |
# speed = 3 # if it's not provided, the default value will be used.
|
106 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
107 |
# context = 8 # if it's not provided, the default value will be used.
|
108 |
# status = "beta"
|
109 |
# [AI.OpenAI.Models.GPT4.Capabilities] # Features control
|
110 |
# image_generation = true # Not supported yet
|
111 |
-
web_search = true
|
112 |
|
113 |
[AI.OpenAI.Models.GPT4o]
|
114 |
-
id = "gpt-4o" # if it's not provided, it will be generated from the Object key. For example, here it will be "gpt4"
|
115 |
model = "gpt-4o" # if it's not provided, it will be generated from the Object key.
|
116 |
name = "GPT-4o" # if it's not provided, it will be generated from the Object key.
|
117 |
-
description = "GPT-4o is
|
118 |
# speed = 3 # if it's not provided, the default value will be used.
|
119 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
120 |
# context = 8 # if it's not provided, the default value will be used.
|
@@ -139,16 +126,16 @@ password = ""
|
|
139 |
|
140 |
[Translate]
|
141 |
# You can choose the default translation service from the following:
|
142 |
-
# shortcut, deeplx, ai, libretranslate
|
143 |
# Default: deeplx
|
144 |
-
default = "
|
145 |
|
146 |
# Maybe one day there will be a [Translate.Shortcuts] configuration here...
|
147 |
# [Translate.Shortcuts]
|
148 |
|
149 |
[Translate.DeepLX]
|
150 |
-
#
|
151 |
-
#
|
152 |
|
153 |
[Translate.AI]
|
154 |
# If the default model is not set,
|
@@ -171,6 +158,8 @@ base_url = "https://libretranslate.com"
|
|
171 |
type = "reserve"
|
172 |
# If you choose api, you should set the api_key
|
173 |
api_key = ""
|
|
|
|
|
174 |
|
175 |
[Sync]
|
176 |
# The location of the sync file, default is "icloud", and you can also set it to "local"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
[General]
|
2 |
# If you deploy this service on a remote server,
|
3 |
# it is recommended to set mode to "remote", maybe one day this program will be used
|
|
|
17 |
# If you want to use HTTPS, you can set the following configuration
|
18 |
# enabled = true
|
19 |
# # You can specify the host to the certificate file (auto generate mode)
|
20 |
+
# host = '192.168.110.254'
|
21 |
# # You can also specify the path to your existing certificate file
|
22 |
# key = "path
|
23 |
# cert = "path"
|
|
|
44 |
]
|
45 |
|
46 |
[AI.Functions.Serp]
|
47 |
+
apiHub_api_key = "APY04V154epVA7X87TSe6OmYnPTMr58CyTExbPzUAnaFg7t2YcY46YqRMfNPDZAJQ0V5CQbuGilK6r"
|
48 |
# tavily_ai_api_key = "" # Tavily currently doesn't support.
|
49 |
|
50 |
[AI.OpenAI]
|
|
|
71 |
# Custom OpenAI Model
|
72 |
# You can add your own OpenAI model just like the following:
|
73 |
# # [NOTICE] You shouldn't use the dot in the model name. It will be parsed as a section
|
74 |
+
[AI.OpenAI.Models.GPT4P]
|
75 |
+
id = "openai-gpt-4-preview" # if it's not provided, it will be generated from the Object key. For example, here it will be "gpt4"
|
76 |
+
model = "gpt-4-preview" # if it's not provided, it will be generated from the Object key.
|
77 |
+
name = "GPT-4 Preview" # if it's not provided, it will be generated from the Object key.
|
78 |
+
description = "GPT-4 Preview from OpenAI has a big context window that fits hundreds of pages of text, making it a great choice for workloads that involve longer prompts.\n"
|
79 |
# speed = 3 # if it's not provided, the default value will be used.
|
80 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
81 |
# context = 8 # if it's not provided, the default value will be used.
|
|
|
84 |
# image_generation = true # Not supported yet
|
85 |
# web_search = true # The premise is that the model needs to support Function Call.
|
86 |
|
87 |
+
[AI.OpenAI.Models.GPT4T]
|
88 |
+
id = "openai-gpt-4-turbo" # if it's not provided, it will be generated from the Object key. For example, here it will be "gpt4"
|
89 |
+
model = "gpt-4-turbo" # if it's not provided, it will be generated from the Object key.
|
90 |
+
name = "GPT-4 Turbo" # if it's not provided, it will be generated from the Object key.
|
91 |
+
description = "GPT-4 Turbo from OpenAI has a big context window that fits hundreds of pages of text, making it a great choice for workloads that involve longer prompts.\n"
|
92 |
# speed = 3 # if it's not provided, the default value will be used.
|
93 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
94 |
# context = 8 # if it's not provided, the default value will be used.
|
95 |
# status = "beta"
|
96 |
# [AI.OpenAI.Models.GPT4.Capabilities] # Features control
|
97 |
# image_generation = true # Not supported yet
|
98 |
+
# web_search = true # The premise is that the model needs to support Function Call.
|
99 |
|
100 |
[AI.OpenAI.Models.GPT4o]
|
101 |
+
id = "openai-gpt-4o" # if it's not provided, it will be generated from the Object key. For example, here it will be "gpt4"
|
102 |
model = "gpt-4o" # if it's not provided, it will be generated from the Object key.
|
103 |
name = "GPT-4o" # if it's not provided, it will be generated from the Object key.
|
104 |
+
description = "GPT-4o is the most advanced and fastest model from OpenAI, making it a great choice for complex everyday problems and deeper conversations.\n"
|
105 |
# speed = 3 # if it's not provided, the default value will be used.
|
106 |
# intelligence = 3 # if it's not provided, the default value will be used.
|
107 |
# context = 8 # if it's not provided, the default value will be used.
|
|
|
126 |
|
127 |
[Translate]
|
128 |
# You can choose the default translation service from the following:
|
129 |
+
# shortcut, deeplx, ai, libretranslate
|
130 |
# Default: deeplx
|
131 |
+
default = "ai"
|
132 |
|
133 |
# Maybe one day there will be a [Translate.Shortcuts] configuration here...
|
134 |
# [Translate.Shortcuts]
|
135 |
|
136 |
[Translate.DeepLX]
|
137 |
+
# proxy_endpoint = ""
|
138 |
+
# access_token = ""
|
139 |
|
140 |
[Translate.AI]
|
141 |
# If the default model is not set,
|
|
|
158 |
type = "reserve"
|
159 |
# If you choose api, you should set the api_key
|
160 |
api_key = ""
|
161 |
+
# The following is for the legacy configuration
|
162 |
+
# They will be removed in the future
|
163 |
|
164 |
[Sync]
|
165 |
# The location of the sync file, default is "icloud", and you can also set it to "local"
|