Skip to content

Commit aa38d5c

Browse files
committed
fix(commands): 修复知识库创建时请求ID未传递问题
- 在知识库创建成功日志中添加请求ID信息 - 确保导入作业失败消息中包含请求追踪数据 - 改进日志详细程度,方便问题排查
1 parent cc51164 commit aa38d5c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/commands/src/commands/knowledge/kb-create.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export default defineCommand({
145145
importJobFailureMessage(statusResponse, "Initial import reported document failures."),
146146
ExitCode.GENERAL,
147147
`Knowledge base created: ${pipelineId}`,
148+
{ api: { requestId: statusResponse.request_id } },
148149
);
149150
}
150151
}

0 commit comments

Comments
 (0)