mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 16:02:23 +00:00
fix(frontend): do not consider advanced module settings when testing ai agent step
This commit is contained in:
@@ -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 : [],
|
||||
|
||||
Reference in New Issue
Block a user