更新n8n脚本
This commit is contained in:
@@ -132,6 +132,58 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "http://192.168.3.189:8642/v1/chat/completions",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpBearerAuth",
|
||||
"sendBody": true,
|
||||
"specifyBody": "json",
|
||||
"jsonBody": "={\n \"model\": \"hermes-agent\",\n \"messages\": [\n {\"role\": \"user\", \"content\": \"请用baoyu-translate技能对以下目录里有正文的文章进行翻译。 目录:/Users/weishen/Workspace/nexus/sreweekly/markdown/。输出markdown文件放在相同目录下。如果文章没有正文则不用翻译。\"}\n ],\n \"stream\": false\n} ",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.5,
|
||||
"position": [
|
||||
-1408,
|
||||
-240
|
||||
],
|
||||
"id": "2431a701-4dcc-4ab7-a0f9-77733c7f535e",
|
||||
"name": "用baoyu-translate技能翻译文章",
|
||||
"credentials": {
|
||||
"httpBearerAuth": {
|
||||
"id": "GkmmyLXcesldpTDE",
|
||||
"name": "macmini-hermes-default-api-key"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "http://192.168.3.189:8642/v1/chat/completions",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpBearerAuth",
|
||||
"sendBody": true,
|
||||
"specifyBody": "json",
|
||||
"jsonBody": "={\n \"model\": \"hermes-agent\",\n \"messages\": [\n {\"role\": \"user\", \"content\": \"请用git-sync技能对/Users/weishen/Workspace/nexus目录做一次同步\"}\n ],\n \"stream\": false\n} ",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.5,
|
||||
"position": [
|
||||
-1408,
|
||||
-32
|
||||
],
|
||||
"id": "dde6923c-ef8a-4d09-9fbc-4b6d116fefad",
|
||||
"name": "用git-sync技能同步nexus目录",
|
||||
"credentials": {
|
||||
"httpBearerAuth": {
|
||||
"id": "GkmmyLXcesldpTDE",
|
||||
"name": "macmini-hermes-default-api-key"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fromEmail": "star-agent@agentmail.to",
|
||||
@@ -147,7 +199,7 @@
|
||||
-432
|
||||
],
|
||||
"id": "031f43de-fb1b-456d-9dbc-bcab9aad4c26",
|
||||
"name": "发送邮件",
|
||||
"name": "发送邮件1",
|
||||
"webhookId": "bb874d98-90cc-4cb8-bb9d-349829807a3b",
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
@@ -210,6 +262,16 @@
|
||||
"node": "获取最新期刊HTML格式文章列表",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "用baoyu-translate技能翻译文章",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "用git-sync技能同步nexus目录",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -218,14 +280,14 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "发送邮件",
|
||||
"node": "发送邮件1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"发送邮件": {
|
||||
"用baoyu-translate技能翻译文章": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
@@ -236,7 +298,7 @@
|
||||
"executionOrder": "v1",
|
||||
"binaryMode": "separate"
|
||||
},
|
||||
"versionId": "177b90fd-f9fd-4ec6-8dd7-5d3168acef13",
|
||||
"versionId": "fc838fa0-6e95-48fe-9109-f9c9508a0c1d",
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": true,
|
||||
"instanceId": "0d85c1c8320c5fe7dfb1167fa257713dc13ee89925aa6b6c8e5825922abfa363"
|
||||
|
||||
Reference in New Issue
Block a user