From 150349229df0316c7f2a3c3f87145f4225ca092d Mon Sep 17 00:00:00 2001 From: Yeuoly Date: Tue, 10 Dec 2024 02:21:07 +0800 Subject: [PATCH] fix: avoid Embeded struct --- internal/types/entities/plugin_entities/agent_declaration.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/types/entities/plugin_entities/agent_declaration.go b/internal/types/entities/plugin_entities/agent_declaration.go index fd45d3d..550ee09 100644 --- a/internal/types/entities/plugin_entities/agent_declaration.go +++ b/internal/types/entities/plugin_entities/agent_declaration.go @@ -19,9 +19,7 @@ type AgentParameter struct { ToolParameter `json:",inline" yaml:",inline"` } -type AgentOutputSchema struct { - ToolOutputSchema `json:",inline" yaml:",inline"` -} +type AgentOutputSchema map[string]any type AgentStrategyDeclaration struct { Identity AgentIdentity `json:"identity" yaml:"identity" validate:"required"`