fix: keep local api serve unauthenticated
maintainer edit: Align OpenAI-compatible API auth with the WebSocket channel boundary: loopback serve remains usable without a key, while wildcard binds still fail before agent initialization unless api.api_key is configured.
This commit is contained in:
1 parent
28141ce20b
commit
883776358e
7 files changed
+25
-35
No files matched your search
@@ -204,7 +204,7 @@ Default API endpoint:
|
||||
http://127.0.0.1:8900
|
||||
```
|
||||
|
||||
`nanobot serve` requires `api.apiKey`; send it as a Bearer token on API routes.
|
||||
Public binds (`0.0.0.0` or `::`) require `api.apiKey`; send it as a Bearer token on API routes.
|
||||
|
||||
See [`openai-api.md`](./openai-api.md) for request examples.
|
||||
|
||||
|
||||
Reference in new issue
Block a user