We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e70a9bd commit c2400f3Copy full SHA for c2400f3
bricks/ai-portal/src/chat-stream/useConversationStream.ts
@@ -52,7 +52,7 @@ export function useConversationStream(
52
for (const chunk of chunks) {
53
if (chunk.type === "job") {
54
const job = chunk.job;
55
- if (job.toolCall) {
+ if (job.toolCall && !job.ignoreDetails) {
56
lastDetail = {
57
type: "job",
58
id: job.id,
bricks/ai-portal/src/shared/interfaces.ts
@@ -116,6 +116,9 @@ export interface Job {
116
117
// @ 的数字人 ID
118
mentionedAiEmployeeId?: string;
119
+
120
+ // 忽略该容器在 chat 模式下的自动详情展示,但仍可主动点击查看详情
121
+ ignoreDetails?: boolean;
122
}
123
124
export type HumanAction = HumanActionConfirm | HumanActionSelect;
0 commit comments