summaryrefslogtreecommitdiffhomepage
path: root/cmd/schema
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-12 14:32:27 -0500
committeradamdottv <[email protected]>2025-05-12 14:32:27 -0500
commit36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3 (patch)
treee4dd3910956376104c2b3996c245393bf625bc32 /cmd/schema
parentc9b90dd184084a2a3669db49717eb485c8861ee4 (diff)
downloadopencode-36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3.tar.gz
opencode-36e5ae804e4bf0c96a0ce6cca90029e88c2da9b3.zip
chore: rename coder -> primary
Diffstat (limited to 'cmd/schema')
-rw-r--r--cmd/schema/README.md5
-rw-r--r--cmd/schema/main.go2
2 files changed, 4 insertions, 3 deletions
diff --git a/cmd/schema/README.md b/cmd/schema/README.md
index 93ebe9f03..e448ea0cb 100644
--- a/cmd/schema/README.md
+++ b/cmd/schema/README.md
@@ -46,7 +46,7 @@ Here's an example configuration that conforms to the schema:
}
},
"agents": {
- "coder": {
+ "primary": {
"model": "claude-3.7-sonnet",
"maxTokens": 5000,
"reasoningEffort": "medium"
@@ -61,4 +61,5 @@ Here's an example configuration that conforms to the schema:
}
}
}
-``` \ No newline at end of file
+```
+
diff --git a/cmd/schema/main.go b/cmd/schema/main.go
index 6340cb32f..f5786a7c0 100644
--- a/cmd/schema/main.go
+++ b/cmd/schema/main.go
@@ -274,7 +274,7 @@ func generateSchema() map[string]any {
// Add specific agent properties
agentProperties := map[string]any{}
knownAgents := []string{
- string(config.AgentCoder),
+ string(config.AgentPrimary),
string(config.AgentTask),
string(config.AgentTitle),
}