fix(frontend): do not consider advanced module settings when testing ai agent step

This commit is contained in:
HugoCasa
2025-12-10 17:02:15 +01:00
parent 651681b7ef
commit 72a38f36fb
@@ -1,5 +1,11 @@
<script lang="ts">
import { ScriptService, type AiAgent, type FlowModule, type JavascriptTransform, type Job } from '$lib/gen'
import {
ScriptService,
type AiAgent,
type FlowModule,
type JavascriptTransform,
type Job
} from '$lib/gen'
import { workspaceStore } from '$lib/stores'
import { getScriptByPath } from '$lib/scripts'
import { getContext } from 'svelte'
@@ -107,7 +113,7 @@
value: {
modules: [
{
...mod,
id: mod.id,
value: {
type: 'aiagent',
tools: mod.value.type == 'aiagent' ? mod.value.tools : [],