Skip to content
代码片段 群组 项目
未验证 提交 ccd7b6ec 编辑于 作者: Mark Chao's avatar Mark Chao 提交者: GitLab
浏览文件

Merge branch '463298-rename-request_id' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
const [{ duration }] = performance.getEntriesByName('prompt-to-response'); const [{ duration }] = performance.getEntriesByName('prompt-to-response');
this.track('ai_response_time', { this.track('ai_response_time', {
property: requestId, requestId,
value: duration, value: duration,
}); });
......
...@@ -399,7 +399,7 @@ describeSkipVue3(skipReason, () => { ...@@ -399,7 +399,7 @@ describeSkipVue3(skipReason, () => {
expect(performance.mark).toHaveBeenCalledWith('response-received'); expect(performance.mark).toHaveBeenCalledWith('response-received');
expect(trackingSpy).toHaveBeenCalledWith(undefined, 'ai_response_time', { expect(trackingSpy).toHaveBeenCalledWith(undefined, 'ai_response_time', {
property: 'request-id-123', requestId: 'request-id-123',
value: 123, value: 123,
}); });
}); });
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册