Skip to content

Commit

Permalink
fix: avoid Embeded struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Dec 9, 2024
1 parent 9be865f commit 1503492
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/types/entities/plugin_entities/agent_declaration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 1503492

Please sign in to comment.