-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHECK-KEY.bat
More file actions
27 lines (24 loc) · 926 Bytes
/
Copy pathCHECK-KEY.bat
File metadata and controls
27 lines (24 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
REM Quick terminal check: missing / placeholder / rejected / accepted OpenRouter key.
setlocal
set "OPENAI_API_KEY="
set "OPENAI_BASE_URL="
cd /d "%~dp0"
title ClawCodex - OpenRouter key check
echo.
echo ------------------------------------------------------------------
echo OpenRouter live check - command you can copy into PowerShell:
echo ------------------------------------------------------------------
echo.
echo powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0validate-openrouter.ps1"
echo.
echo ------------------------------------------------------------------
echo Running that command now...
echo ------------------------------------------------------------------
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0validate-openrouter.ps1"
set OR_EXIT=%errorlevel%
echo.
echo Exit code: %OR_EXIT% ^(0 = OK, 10 = missing, 2 = rejected, 3 = no response^)
echo.
pause