Commit bf7d9e0
committed
fix(showcase): convert v2 runtime 404 to 400 for smoke probe compat
The v2 createCopilotRuntimeHandler returns 404 for malformed POSTs to
the base path, while the v1 API returns 400. The smoke probe treats
404 as "route not wired" and marks agent:built-in-agent red. Wrap the
POST handler to convert 404→400 so the probe reads it as proof-of-life.1 parent c47ac31 commit bf7d9e0
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | | - | |
| 28 | + | |
20 | 29 | | |
0 commit comments