Skip to content

Commit

Permalink
feature: 流水线日志支持AI修复 TencentBlueKing#10913
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanxu33 committed Sep 23, 2024
1 parent 8c417bf commit bc09260
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/frontend/devops-pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"public:external": "cross-env NODE_ENV=external npm run public --"
},
"dependencies": {
"@blueking/log": "2.2.0-beta.26",
"@blueking/log": "2.2.0-beta.27",
"@blueking/search-select": "0.0.1-beta.2",
"@icon-cool/bk-icon-devops": "^0.2.1",
"axios": "^0.28.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
ref.setSingleLogData(item, id)
ref.scrollAILogToBottom(id)
}
}).then(() => {
this.handleGetPraiseAiInfo({ id, item })
})
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@
scrollRef.setSingleLogData(item)
scrollRef.scrollAILogToBottom()
}
}).then(() => {
this.handleGetPraiseAiInfo(item)
})
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,9 +813,9 @@ export default {
if (currentExe) {
url += `&executeCount=${currentExe}`
}
window.fetch(url, {
return window.fetch(url, {
method: 'post'
}).then(async (response) => {
}).then((response) => {
const reader = response.body.getReader()
const decoder = new TextDecoder()

Expand Down

0 comments on commit bc09260

Please sign in to comment.