We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c5050c commit 7c2f879Copy full SHA for 7c2f879
app/web_ui/src/routes/(app)/specs/[project_id]/[task_id]/spec_utils.ts
@@ -63,7 +63,11 @@ export async function checkDefaultRunConfigHasTools(
63
project_id: string,
64
task: Task,
65
): Promise<boolean> {
66
- if (!task.id || !task.default_run_config_id) {
+ if (!task.id) {
67
+ throw new Error("Task ID is required")
68
+ }
69
+
70
+ if (!task.default_run_config_id) {
71
return false
72
}
73
0 commit comments