Commit 913e66c
fix: normalize WS URL trailing slash; fix ollama-cloud requires_api_key
- api.ts: strip trailing slashes from baseUrl in getStatusWebSocketUrl()
to prevent double-slash paths (e.g. ws://host//ws/status)
- config.rs: requires_api_key for Ollama now returns true whenever
api_key.is_some() (cloud mode) so validate() reliably rejects
empty API keys for ollama-cloud configurations
Agent-Logs-Url: https://github.com/madkoding/fractalmind/sessions/29135fcd-d127-4638-af3b-a2125ab5d5e4
Co-authored-by: madkoding <333442+madkoding@users.noreply.github.com>1 parent 7878455 commit 913e66c
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
0 commit comments