Add runtime service links for lab endpoints

This commit is contained in:
2026-04-23 18:11:16 -06:00
parent 431e667c5e
commit ea55178f9c
10 changed files with 509 additions and 46 deletions
+7 -7
View File
@@ -25,7 +25,7 @@ In this lab, we will:
To start this lab, one web service has been preconfigured:
- Open WebUI - http://<IP>:8080
- Open WebUI - {{service-url:open-webui}}
## Objective 1 Execute: Generate an Open WebUI API Key
@@ -33,7 +33,7 @@ Before we install any harness, we need a key that lets the harness call the same
### Execute: Sign in to Open WebUI
1. Navigate to `http://<YOUR STUDENT IP>:8080`.
1. Navigate to `{{service-url:open-webui}}`.
2. Sign in with the same account you used in Lab 4, or the credentials supplied by your instructor.
3. Confirm that you can reach the normal chat screen before continuing.
@@ -82,7 +82,7 @@ According to the Open WebUI reference docs, API keys are created from **Settings
Run a quick authenticated request against the Open WebUI model list endpoint. You should receive JSON back instead of an authentication error.
```bash
curl http://<YOUR STUDENT IP>:8080/api/models \
curl {{service-url:open-webui:/api}}/models \
-H "Authorization: Bearer YOUR_OPENWEBUI_API_KEY"
```
@@ -160,7 +160,7 @@ droid --version</code></pre>
For all three harnesses, the common backend values are:
- `Base URL` - `http://<YOUR STUDENT IP>:8080/api`
- `Base URL` - `{{service-url:open-webui:/api}}`
- `API Key` - `YOUR_OPENWEBUI_API_KEY`
- `Model ID` - Any model ID returned by Open WebUI, such as `qwen3.5:4b`
@@ -180,7 +180,7 @@ The shared idea is simple: your harness sends requests to Open WebUI's authentic
"openwebui": {
"name": "Open WebUI",
"options": {
"baseURL": "http://&lt;YOUR STUDENT IP&gt;:8080/api",
"baseURL": "{{service-url:open-webui:/api}}",
},
"models": {
"qwen3.5:4b": {
@@ -213,7 +213,7 @@ opencode</code></pre>
<p>Kilo Code's documented workflow is provider-driven through the extension settings UI. Use the following values when creating or editing your provider profile.</p>
<ul>
<li><code>API Provider</code> - <code>OpenAI Compatible</code></li>
<li><code>OpenAI Base URL</code> - <code>http://&lt;YOUR STUDENT IP&gt;:8080/api</code></li>
<li><code>OpenAI Base URL</code> - <code>{{service-url:open-webui:/api}}</code></li>
<li><code>API Key</code> - <code>YOUR_OPENWEBUI_API_KEY</code></li>
<li><code>Model ID</code> - <code>qwen3.5:4b</code> or another model exposed by Open WebUI</li>
<li><code>Approval Mode</code> - Leave the safer default enabled for your first run</li>
@@ -266,7 +266,7 @@ opencode</code></pre>
{
"model_display_name": "Open WebUI - Qwen 3.5 4B",
"model": "qwen3.5:4b",
"base_url": "http://&lt;YOUR STUDENT IP&gt;:8080/api",
"base_url": "{{service-url:open-webui:/api}}",
"api_key": "YOUR_OPENWEBUI_API_KEY",
"provider": "generic-chat-completion-api",
"max_tokens": 4096