Skip to content

Commit 3eb13fe

Browse files
Updated roo code to have thread id in unbound metadata
1 parent 12d1959 commit 3eb13fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/providers/unbound.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type UnboundChatCompletionCreateParamsStreaming = OpenAI.Chat.Completions.ChatCo
3030
originApp: string
3131
taskId?: string
3232
mode?: string
33+
threadId?: string
3334
}
3435
}
3536

@@ -90,8 +91,8 @@ export class UnboundHandler extends RouterProvider implements SingleCompletionHa
9091
stream: true,
9192
unbound_metadata: {
9293
originApp: ORIGIN_APP,
93-
taskId: metadata?.taskId,
9494
mode: metadata?.mode,
95+
threadId: metadata?.taskId,
9596
},
9697
}
9798

0 commit comments

Comments
 (0)