@activepieces/piece-open-router 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/i18n/zh.json +24 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-open-router",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.34.11",
6
6
  "axios": "1.8.3",
@@ -13,7 +13,7 @@
13
13
  "zod": "3.25.76",
14
14
  "@activepieces/pieces-common": "0.7.0",
15
15
  "@activepieces/pieces-framework": "0.18.4",
16
- "@activepieces/shared": "0.19.0",
16
+ "@activepieces/shared": "0.20.0",
17
17
  "tslib": "2.8.1"
18
18
  },
19
19
  "overrides": {
package/src/i18n/zh.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
- "OpenRouter": "開放路由器",
3
- "Use any AI model to generate code, text, or images via OpenRouter.ai.": "使用任何人工智能模型通過 OpenRouter.ai 生成代碼、文本或圖像。",
4
- "\nFollow these instructions to get your OpenAI API Key:\n\n1. Visit the following website: https://openrouter.ai/keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\n按照以下說明獲取您的 OpenAI API 密鑰:\n\n1. 訪問以下網站:https://openrouter.ai/keys。\n2. 一旦進入網站,點擊創建一個密鑰。\n3. 當您創建一個密鑰後,將其複製並用於網站上的 Api 密鑰字段。\n",
5
- "Ask LLM": "詢問 LLM",
6
- "Custom API Call": "自定義 API 呼叫",
7
- "Ask any model supported by Open Router.": "詢問開放路由器支持的任何模型。",
8
- "Make a custom API call to a specific endpoint": "將自定義 API 調用到特定的終點",
9
- "Model": "模型",
10
- "Prompt": "提示",
11
- "Temperature": "溫度",
12
- "Maximum Tokens": "最大標記數",
13
- "Top P": "最高 P",
2
+ "OpenRouter": "OpenRouter",
3
+ "Use any AI model to generate code, text, or images via OpenRouter.ai.": "Use any AI model to generate code, text, or images via OpenRouter.ai.",
4
+ "\nFollow these instructions to get your OpenAI API Key:\n\n1. Visit the following website: https://openrouter.ai/keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your OpenAI API Key:\n\n1. Visit the following website: https://openrouter.ai/keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Ask LLM": "Ask LLM",
6
+ "Custom API Call": "自定义 API 呼叫",
7
+ "Ask any model supported by Open Router.": "Ask any model supported by Open Router.",
8
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
9
+ "Model": "Model",
10
+ "Prompt": "Prompt",
11
+ "Temperature": "Temperature",
12
+ "Maximum Tokens": "Maximum Tokens",
13
+ "Top P": "Top P",
14
14
  "Method": "方法",
15
- "Headers": "信頭",
16
- "Query Parameters": "查詢參數",
17
- "Body": "正文內容",
15
+ "Headers": "信头",
16
+ "Query Parameters": "查询参数",
17
+ "Body": "正文内容",
18
18
  "Response is Binary ?": "Response is Binary ?",
19
- "No Error on Failure": "失敗時沒有錯誤",
20
- "Timeout (in seconds)": "超時(秒)",
21
- "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "將生成完成的模型。有些模型適合自然語言任務,其他專注於代碼。",
22
- "The prompt to send to the model.": "要傳送給模型的提示。",
23
- "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.": "控制隨機性:降低將導致不那麼隨機的完成。當溫度接近零時,模型將變得確定性且重複性。",
24
- "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)": "要生成的最大標記數量。請求可以使用高達 2,048 4,096 個標記,在提示和完成之間共享,請勿將值設置為最大值,留出一些標記作為輸入。具體限制因模型而異。(一個標記大約為普通英文文本的 4 個字符)",
25
- "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.": "與溫度取樣的替代方案是核取樣,即模型考慮具有 top_p 概率質量的標記結果。因此,0.1 意味著僅考慮構成前 10% 概率質量的標記。",
26
- "Authorization headers are injected automatically from your connection.": "授權頭自動從您的連接中注入。",
19
+ "No Error on Failure": "失败时没有错误",
20
+ "Timeout (in seconds)": "超时(秒)",
21
+ "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.",
22
+ "The prompt to send to the model.": "The prompt to send to the model.",
23
+ "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
24
+ "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)": "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)",
25
+ "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.",
26
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
27
27
  "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
28
28
  "GET": "获取",
29
29
  "POST": "帖子",
30
30
  "PATCH": "PATCH",
31
- "PUT": "彈出",
31
+ "PUT": "弹出",
32
32
  "DELETE": "删除",
33
33
  "HEAD": "黑色"
34
34
  }