Use OpenAI-compatible error format for secrets blocking:
authormaximiliancw <redacted>
Fri, 9 Jan 2026 15:52:46 +0000 (16:52 +0100)
committermaximiliancw <redacted>
Fri, 9 Jan 2026 15:52:46 +0000 (16:52 +0100)
commit50de5e321dd661a92120a2f042148e46fdc415e5
tree11d37effecb6cca1546826f0331f9598e5a5ff5e
parent33931d1f5941a479b0f2ec39b359e41efbcd3416
Use OpenAI-compatible error format for secrets blocking:

- Use 400 status code instead of 422
- Use standard error format {message, type, param, code}
- Remove non-standard 'details' field (secret types already in headers)
- Update tests to match new format
src/routes/proxy.test.ts
src/routes/proxy.ts
git clone https://git.99rst.org/PROJECT