-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
60 lines (60 loc) · 2.48 KB
/
openclaw.plugin.json
File metadata and controls
60 lines (60 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"id": "model-smart-select",
"name": "ModelSmartSelect",
"description": "Intelligent context-aware model routing. Automatically routes prompts to the optimal model based on complexity, session type, and conversation context.",
"version": "0.1.0",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"tiers": {
"type": "object",
"description": "Model mapping per complexity tier",
"properties": {
"heartbeat": { "type": "string" },
"simple": { "type": "string" },
"moderate": { "type": "string" },
"complex": { "type": "string" },
"frontier": { "type": "string" }
},
"additionalProperties": false
},
"classification": {
"type": "object",
"properties": {
"conservativeMode": { "type": "boolean", "default": true },
"minConfidence": { "type": "number", "default": 0.7 },
"toolFloor": { "type": "string", "enum": ["heartbeat", "simple", "moderate", "complex", "frontier"], "default": "moderate" },
"dmFloor": { "type": "string", "enum": ["heartbeat", "simple", "moderate", "complex", "frontier"], "default": "moderate" }
},
"additionalProperties": false
},
"safety": {
"type": "object",
"properties": {
"noRetryWithTools": { "type": "boolean", "default": true },
"failOpen": { "type": "boolean", "default": true }
},
"additionalProperties": false
},
"logging": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true },
"trackSavings": { "type": "boolean", "default": true },
"path": { "type": "string" }
},
"additionalProperties": false
},
"dryRun": { "type": "boolean", "default": false }
}
},
"uiHints": {
"tiers.heartbeat": { "label": "Heartbeat Model", "placeholder": "ollama/qwen3:8b" },
"tiers.simple": { "label": "Simple Model", "placeholder": "anthropic/claude-haiku-3-5-20241022" },
"tiers.moderate": { "label": "Moderate Model", "placeholder": "anthropic/claude-sonnet-4-5" },
"tiers.complex": { "label": "Complex Model", "placeholder": "anthropic/claude-sonnet-4-5" },
"tiers.frontier": { "label": "Frontier Model", "placeholder": "anthropic/claude-opus-4-6" },
"dryRun": { "label": "Dry Run", "help": "Classify and log routing decisions without actually changing the model" }
}
}