-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
57 lines (57 loc) · 1.42 KB
/
openclaw.plugin.json
File metadata and controls
57 lines (57 loc) · 1.42 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
{
"id": "smart-routing",
"name": "Smart Model Routing",
"description": "Routes requests to different models based on prompt complexity",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": { "type": "boolean" },
"classifier": {
"type": "string",
"enum": ["heuristic", "llm", "hybrid"]
},
"tiers": {
"type": "object",
"additionalProperties": false,
"properties": {
"fast": { "$ref": "#/$defs/tier" },
"standard": { "$ref": "#/$defs/tier" },
"heavy": { "$ref": "#/$defs/tier" }
}
},
"hybridConfidenceThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"$defs": {
"tier": {
"type": "object",
"additionalProperties": false,
"properties": {
"model": { "type": "string" },
"patterns": {
"type": "array",
"items": { "type": "string" }
},
"triggers": {
"type": "array",
"items": { "type": "string" }
}
},
"required": ["model"]
}
}
},
"uiHints": {
"enabled": {
"label": "Enable Smart Routing"
},
"classifier": {
"label": "Classifier Mode",
"help": "heuristic (fast, free), llm (accurate, ~200ms), hybrid (heuristic + LLM fallback)"
}
}
}