Skip to content

Commit 2e050c9

Browse files
Homer QuanHomer Quan
authored andcommitted
auto: update all repos
1 parent 7f9a765 commit 2e050c9

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎services-and-health-checks.md‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,25 @@ Filter by node:
185185
mn service resolve vllm --node mirror_neuron@192.168.4.20
186186
```
187187

188+
## Blueprint Web UI Services
189+
190+
Blueprints keep using their existing `config.web_ui` contract. For live/service blueprints with `web_ui.output.adapter: "gradio"`, launch preparation injects a runtime-managed `web_ui_dashboard` HostLocal agent and registers its dashboard as a service:
191+
192+
```json
193+
{
194+
"name": "blueprint-web-ui",
195+
"tags": ["web_ui", "blueprint", "<blueprint_id>", "gradio"],
196+
"meta": {
197+
"run_id": "<run_id>",
198+
"blueprint_id": "<blueprint_id>",
199+
"url": "http://localhost:58000",
200+
"adapter": "gradio"
201+
}
202+
}
203+
```
204+
205+
The generated service reserves an explicit HTTP port from `MN_BLUEPRINT_WEB_UI_PORT_START`/`MN_BLUEPRINT_WEB_UI_PORT_END` and includes an HTTP readiness check. Discovery returns it as passing only after the Gradio dashboard is reachable. The dashboard still writes `ui.json` and `web_ui.json` under the run store for older OtterDesk and CLI consumers, but the service registry is the authoritative live-service source.
206+
188207
## Runtime Behavior
189208

190209
- job-level services register when the job starts
@@ -210,4 +229,3 @@ mn service resolve vllm --node mirror_neuron@192.168.4.20
210229
| CLI commands | `mn-cli/mn_cli/libs/service_cmds.py` |
211230
| Blueprint validation | `mn-python-sdk/mn_sdk/blueprint_validation.py` |
212231
| SDK client | `mn-python-sdk/mn_sdk/client.py` |
213-

0 commit comments

Comments
 (0)