Commit graph

11 commits

Author SHA1 Message Date
eda48562da feat(router): add logprob support in /api/chat
Add logprob support to the OpenAI-to-Ollama proxy by converting OpenAI logprob formats to Ollama types. Also update the ollama dependency.
2026-02-13 13:29:45 +01:00
YetheSamartaka
eca4a92a33 add: Optional router-level API key that gates router/API/web UI access
Optional router-level API key that gates router/API/web UI access (leave empty to disable)

## Supplying the router API key

If you set `nomyo-router-api-key` in `config.yaml` (or `NOMYO_ROUTER_API_KEY` env), every request to NOMYO Router must include the key:

- HTTP header (recommended): `Authorization: Bearer <router_key>`
- Query param (fallback): `?api_key=<router_key>`

Examples:
```bash
curl -H "Authorization: Bearer $NOMYO_ROUTER_API_KEY" http://localhost:12434/api/tags
curl "http://localhost:12434/api/tags?api_key=$NOMYO_ROUTER_API_KEY"
```
2026-01-14 09:28:02 +01:00
96995cd37f
Create config.yaml 2025-09-17 11:43:12 +02:00
d85d120cc8 fixing thinking mode in rechunk and model renaming in /v1 endpoints 2025-09-17 11:39:51 +02:00
ddd3eb9e84 params handling for googleapis 2025-09-10 15:25:25 +02:00
75de210039
Update config.yaml 2025-09-04 16:09:30 +02:00
7a4e0bb08c
Update config.yaml
fixing config for ollama /v1 compatible endpoint usage
2025-09-04 16:08:02 +02:00
e7fd79c461
Update config.yaml
centralizing remote endpoint secrets
2025-09-03 18:00:20 +02:00
b27b3608ce
Update config.yaml 2025-09-01 16:36:27 +02:00
2c82e5964f
Add files via upload
minor updates
2025-09-01 16:35:22 +02:00
5f1f3f7b57
Initial commit 2025-08-26 18:19:43 +02:00