Update Tahoma.json
parent
ed83f1244c
commit
dec7733934
25
Tahoma.json
25
Tahoma.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"createdAt": "2025-11-15T03:06:25.006Z",
|
||||
"updatedAt": "2025-11-21T02:46:47.000Z",
|
||||
"updatedAt": "2025-11-21T03:31:45.000Z",
|
||||
"id": "yoXYSA197mEd6zfK",
|
||||
"name": "Tahoma",
|
||||
"active": true,
|
||||
|
|
@ -373,8 +373,8 @@
|
|||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1.2,
|
||||
"position": [
|
||||
-912,
|
||||
-192
|
||||
-976,
|
||||
-32
|
||||
],
|
||||
"id": "42827b3d-a993-4143-9808-0c756abb21c7",
|
||||
"name": "OpenAI Chat Model1",
|
||||
|
|
@ -1142,7 +1142,7 @@
|
|||
"operation": "executeQuery",
|
||||
"query": "SELECT key, value, importance, updated_at\nFROM user_profile_memories\nWHERE user_id = $1\n AND agent = $2\nORDER BY importance DESC, updated_at DESC;\n",
|
||||
"options": {
|
||||
"queryReplacement": "={{ $('Set Input').item.json.user_id }}{{ $json.agent }}"
|
||||
"queryReplacement": "={{ $('Set Input').item.json.user_id }}{{ $('Set Agent').item.json.agent }}"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
|
|
@ -1557,8 +1557,8 @@
|
|||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"typeVersion": 2.2,
|
||||
"position": [
|
||||
-992,
|
||||
-400
|
||||
-1040,
|
||||
-272
|
||||
],
|
||||
"id": "4e1127c8-e6f6-4e74-b552-7981641b4776",
|
||||
"name": "Tahoma.AgentRouter",
|
||||
|
|
@ -2187,7 +2187,9 @@
|
|||
"parameters": {
|
||||
"operation": "executeQuery",
|
||||
"query": "INSERT INTO user_sessions (user_id, channel_id, agent, last_message_at)\nVALUES ($1, $2, $3, now())\nON CONFLICT (user_id, channel_id)\nDO UPDATE SET\n agent = EXCLUDED.agent,\n last_message_at = EXCLUDED.last_message_at;",
|
||||
"options": {}
|
||||
"options": {
|
||||
"queryReplacement": "={{ $('Set Input').item.json.user_id }}{{ $('discordWebhook').item.json.body.channel.type }}{{ $json.agent }}"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
"typeVersion": 2.6,
|
||||
|
|
@ -3088,16 +3090,9 @@
|
|||
"executionMode": "production"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Code in JavaScript1": [
|
||||
{
|
||||
"json": {
|
||||
"session_active": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"versionId": "ead6d0f1-7925-4eb5-832f-5a39bc111b11",
|
||||
"versionId": "d7435a35-0330-4788-bde1-309a26037f2f",
|
||||
"triggerCount": 1,
|
||||
"shared": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue