-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
101 lines (101 loc) · 2.79 KB
/
openclaw.plugin.json
File metadata and controls
101 lines (101 loc) · 2.79 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"id": "openclaw-gpu-bridge",
"name": "GPU Bridge",
"description": "Offload GPU-intensive ML tasks (BERTScore, embeddings) to one or multiple remote GPU machines",
"version": "0.2.1",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"hosts": {
"type": "array",
"description": "v0.2 multi-host config",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "URL of one GPU FastAPI service"
},
"name": {
"type": "string",
"description": "Optional host name"
},
"apiKey": {
"type": "string",
"description": "Optional API key for this host"
}
},
"required": [
"url"
]
}
},
"serviceUrl": {
"type": "string",
"description": "v0.1 compatibility: URL of the FastAPI GPU service"
},
"url": {
"type": "string",
"description": "v0.1 compatibility alias for serviceUrl"
},
"timeout": {
"type": "number",
"default": 45,
"description": "HTTP request timeout in seconds"
},
"apiKey": {
"type": "string",
"description": "Optional API key (used as fallback for all hosts)"
},
"healthCheckIntervalSeconds": {
"type": "number",
"default": 30,
"description": "Host health-check interval in seconds"
},
"loadBalancing": {
"type": "string",
"enum": [
"round-robin",
"least-busy"
],
"default": "round-robin",
"description": "Host selection strategy"
},
"models": {
"type": "object",
"additionalProperties": false,
"properties": {
"embed": {
"type": "string",
"default": "all-MiniLM-L6-v2",
"description": "Default sentence-transformers model for embeddings"
},
"bertscore": {
"type": "string",
"default": "microsoft/deberta-xlarge-mnli",
"description": "Default model for BERTScore"
}
}
}
},
"description": "Configuration is optional. If no hosts/serviceUrl/url is set, tools will fail with a clear 'not configured' error instead of blocking plugin install."
},
"uiHints": {
"serviceUrl": {
"label": "GPU Service URL (legacy)",
"placeholder": "http://192.168.1.100:8765"
},
"apiKey": {
"label": "API Key",
"sensitive": true
},
"timeout": {
"label": "Timeout (seconds)"
},
"loadBalancing": {
"label": "Load balancing"
}
}
}