The models option passed an allowlist to openai-oauth --models but was unrequested and of uncertain upstream effect; remove it entirely. Add translations/en.yaml so the Configuration tab explains that an empty api_key auto-generates a persisted key printed in the log, and that a custom key can be pasted instead. Document a key-generation command in DOCS.md.
19 lines
705 B
YAML
19 lines
705 B
YAML
configuration:
|
|
api_key:
|
|
name: API key
|
|
description: >-
|
|
Local API key clients must send (as "Authorization: Bearer <key>" or
|
|
"x-api-key"). Leave empty and a random key is generated on first start,
|
|
saved to the add-on configuration, and printed in the add-on log. Paste
|
|
your own key here if you want to use a fixed value.
|
|
log_level:
|
|
name: Log level
|
|
description: >-
|
|
Verbosity of the add-on wrapper: DEBUG, INFO, or WARN. DEBUG also
|
|
enables upstream request logging.
|
|
log_requests:
|
|
name: Log requests
|
|
description: >-
|
|
Emit one JSON line per proxied request (path, status, duration, token
|
|
usage) from the upstream openai-oauth server.
|