@debugg-ai/debugg-ai-mcp 2.9.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/workflows.js +2 -17
- package/package.json +1 -1
|
@@ -29,23 +29,8 @@ export const createWorkflowsService = (tx) => {
|
|
|
29
29
|
return match;
|
|
30
30
|
},
|
|
31
31
|
async findEvaluationTemplate() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// to both resolve without config changes. 'evaluation workflow' is specific
|
|
35
|
-
// enough to exclude 'Browser Use Evaluation Brain'.
|
|
36
|
-
const envOverride = process.env.DEBUGGAI_EVAL_TEMPLATE;
|
|
37
|
-
const keywords = envOverride
|
|
38
|
-
? [envOverride]
|
|
39
|
-
: ['app evaluation', 'evaluation workflow'];
|
|
40
|
-
for (const keyword of keywords) {
|
|
41
|
-
try {
|
|
42
|
-
return await service.findTemplateByName(keyword);
|
|
43
|
-
}
|
|
44
|
-
catch {
|
|
45
|
-
// keyword not matched on this backend, try next
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return null;
|
|
32
|
+
const keyword = process.env.DEBUGGAI_EVAL_TEMPLATE || 'app evaluation';
|
|
33
|
+
return service.findTemplateByName(keyword);
|
|
49
34
|
},
|
|
50
35
|
async executeWorkflow(workflowUuid, contextData, env) {
|
|
51
36
|
const body = { contextData };
|