summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authorTimo Clasen <[email protected]>2025-08-15 00:58:44 +0200
committerGitHub <[email protected]>2025-08-14 17:58:44 -0500
commit156cc6cffe417a419cb23069d3cb97df20d4311d (patch)
treebff6eadc21c236383c45e76da14ed69c3d058941 /packages/sdk
parentbcd1dddcbe3f5191c99f2f5ae1610af199232aff (diff)
downloadopencode-156cc6cffe417a419cb23069d3cb97df20d4311d.tar.gz
opencode-156cc6cffe417a419cb23069d3cb97df20d4311d.zip
fix(TUI): fix agent types agents modal (#1942)
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/go/app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/sdk/go/app.go b/packages/sdk/go/app.go
index 2771f6bd4..36d5be77f 100644
--- a/packages/sdk/go/app.go
+++ b/packages/sdk/go/app.go
@@ -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