Skip to content

feat: enhance chat response handling with external links and user info #1748

feat: enhance chat response handling with external links and user info

feat: enhance chat response handling with external links and user info #1748

Triggered via pull request August 10, 2025 06:28
Status Failure
Total duration 1m 22s
Artifacts

fastgpt-test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
test
Process completed with exit code 1.
test/cases/global/core/chat/utils.test.ts > addStatisticalDataToHistoryItem > should return original item if responseData is undefined: test/cases/global/core/chat/utils.test.ts#L97
AssertionError: expected { Object (obj, value, ...) } to be { obj: 'AI', value: [ { …(2) } ] } // Object.is equality - Expected + Received @@ -1,7 +1,10 @@ { + "historyPreviewLength": undefined, + "llmModuleAccount": 0, "obj": "AI", + "totalQuoteList": [], "value": [ { "text": { "content": "test response", }, ❯ test/cases/global/core/chat/utils.test.ts:97:51
test/cases/global/core/chat/utils.test.ts > addStatisticalDataToHistoryItem > should return original item if totalQuoteList is already defined: test/cases/global/core/chat/utils.test.ts#L88
AssertionError: expected { Object (obj, value, ...) } to be { Object (obj, value, ...) } // Object.is equality - Expected + Received @@ -1,6 +1,8 @@ { + "historyPreviewLength": undefined, + "llmModuleAccount": 0, "obj": "AI", "totalQuoteList": [], "value": [ { "text": { ❯ test/cases/global/core/chat/utils.test.ts:88:51
test
Couldn't write a comment to the pull request. Please make sure your job has the permission 'pull-requests: write'. Original Error was: [HttpError] - Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment