refactor: move provider discovery config into plugins

This commit is contained in:
Peter Steinberger
2026-04-05 09:55:19 +01:00
parent 4613f121ad
commit 19de5d1b56
24 changed files with 295 additions and 285 deletions

View File

@@ -20,6 +20,24 @@
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
"properties": {
"discovery": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": { "type": "boolean" }
}
}
}
},
"uiHints": {
"discovery": {
"label": "Model Discovery",
"help": "Plugin-owned controls for GitHub Copilot model auto-discovery."
},
"discovery.enabled": {
"label": "Enable Discovery",
"help": "When false, OpenClaw keeps the GitHub Copilot plugin available but skips implicit startup discovery from ambient Copilot credentials."
}
}
}