fix(TUI): fix agent types agents modal (#1942)

This commit is contained in:
Timo Clasen
2025-08-15 00:58:44 +02:00
committed by GitHub
parent bcd1dddcbe
commit 156cc6cffe
3 changed files with 24 additions and 26 deletions

View File

@@ -72,6 +72,7 @@ func (r *AppService) Providers(ctx context.Context, opts ...option.RequestOption
}
type Agent struct {
BuiltIn bool `json:"builtIn,required"`
Mode AgentMode `json:"mode,required"`
Name string `json:"name,required"`
Options map[string]interface{} `json:"options,required"`
@@ -87,6 +88,7 @@ type Agent struct {
// agentJSON contains the JSON metadata for the struct [Agent]
type agentJSON struct {
BuiltIn apijson.Field
Mode apijson.Field
Name apijson.Field
Options apijson.Field