mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
eecb80400d
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
24 lines
638 B
JSON
24 lines
638 B
JSON
{
|
|
"sessionId": "1",
|
|
"messages": [
|
|
{
|
|
"role": "assistant",
|
|
"type": "message",
|
|
"text": "Hi there! Here is my top solution to fix the error in your **Code** node 👇"
|
|
},
|
|
{
|
|
"type": "code-diff",
|
|
"description": "Fix the syntax error by changing '1asd' to a valid value. In this case, it seems like '1' was intended.",
|
|
"suggestionId": "1",
|
|
"codeDiff": "@@ -2,2 +2,2 @@\n item.json.myNewField = 1asd;\n+ item.json.myNewField = 1;\n",
|
|
"role": "assistant",
|
|
"quickReplies": [
|
|
{
|
|
"text": "Give me another solution",
|
|
"type": "new-suggestion"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|