mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-21 21:31:12 +02:00
OpenRouter's public /api/v1/models returned the full catalog even with an invalid key, so Settings showed Connected while the model call failed with Missing Authentication header. With a key present we now fetch the account-scoped /models/user with the Bearer token, so a bad key surfaces as an error instead of a false Connected; no key keeps the public preview. Other providers untouched. Note: unlike the rest of this PR, this touches core (models.ts). |
||
|---|---|---|
| .. | ||
| docs | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||