diff --git a/apps/dashboard/app/api/infra/action/route.ts b/apps/dashboard/app/api/infra/action/route.ts index 25d2d0e..af17517 100644 --- a/apps/dashboard/app/api/infra/action/route.ts +++ b/apps/dashboard/app/api/infra/action/route.ts @@ -67,7 +67,7 @@ export async function POST(request: NextRequest) { async function triggerAgent(origin: string, service: string, chaosType: string): Promise { if (process.env.AUTO_TRIGGER_AGENT === 'false') return try { - await fetch(`${origin}/api/webhook`, { + await fetch(`http://127.0.0.1:3001/api/webhook`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ diff --git a/stop.ps1 b/stop.ps1 index 440232e..caf61e5 100644 --- a/stop.ps1 +++ b/stop.ps1 @@ -1,4 +1,8 @@ # MissionControl — One-Click Stop Write-Host "Stopping containers..." -ForegroundColor Yellow docker compose down + +Write-Host "Stopping Dashboard..." -ForegroundColor Yellow +Stop-Process -Name "node" -Force -ErrorAction SilentlyContinue + Write-Host "Done." -ForegroundColor Green diff --git a/update.sql b/update.sql new file mode 100644 index 0000000..e60da71 --- /dev/null +++ b/update.sql @@ -0,0 +1 @@ +UPDATE agent SET manifest = CAST(json_set(CAST(manifest AS TEXT), '$.model', 'meta/llama-3.3-70b-instruct') AS BLOB) WHERE name = 'missioncontrol';