Fix options to buildApiHandler (#5064)

* add missing taskId to buildApiHandler

* remove console log
This commit is contained in:
celestial-vault authored and GitHub committed 2025-07-21 13:56:32 -07:00
1 parent 8d5985c8fd
commit c040db6d71
3 files changed
+5 -4

No files matched your search

@@ -30,7 +30,7 @@ export async function updateApiConfigurationProto(
// Update the task's API handler if there's an active task
if (controller.task) {
const currentMode = await controller.getCurrentMode()
controller.task.api = buildApiHandler(appApiConfiguration, currentMode)
controller.task.api = buildApiHandler({ ...appApiConfiguration, taskId: controller.task.taskId }, currentMode)
}
// Post updated state to webview