Merge pull request 'ci: turning on debug' (#2) from f into main
Reviewed-on: #2
This commit is contained in:
2
.github/workflows/agent-issue.yml
vendored
2
.github/workflows/agent-issue.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
api_token: ${{ secrets.AGENT_TOKEN }}
|
api_token: ${{ secrets.AGENT_TOKEN }}
|
||||||
api_url: ${{ secrets.AGENT_API_URL }}
|
api_url: ${{ secrets.AGENT_API_URL }}
|
||||||
debug: false
|
debug: true
|
||||||
name: Send Tasks to Agent
|
name: Send Tasks to Agent
|
||||||
'on':
|
'on':
|
||||||
issue_comment:
|
issue_comment:
|
||||||
|
|||||||
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -32929,8 +32929,8 @@ async function run() {
|
|||||||
inputs: {
|
inputs: {
|
||||||
segment_id,
|
segment_id,
|
||||||
document_id,
|
document_id,
|
||||||
embed_text: comments[0],
|
embed_text: String(comments[0]).trim(),
|
||||||
store_text: comments[comments.length - 1],
|
store_text: String(comments[comments.length - 1]).trim(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
4
index.js
4
index.js
@@ -97,8 +97,8 @@ async function run() {
|
|||||||
inputs: {
|
inputs: {
|
||||||
segment_id,
|
segment_id,
|
||||||
document_id,
|
document_id,
|
||||||
embed_text: comments[0],
|
embed_text: String(comments[0]).trim(),
|
||||||
store_text: comments[comments.length - 1],
|
store_text: String(comments[comments.length - 1]).trim(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user