mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 17:31:03 +01:00
fix(tandoor): Change AI_RATELIMIT to str type
This commit is contained in:
@@ -16,7 +16,7 @@ Optional :
|
||||
"POSTGRES_DB": "str?" # Needed for postgresql_external
|
||||
"AI_MODEL_NAME": "str?", # Used when configuring llm integration
|
||||
"AI_API_KEY": "str?", # Used when configuring llm integration
|
||||
"AI_RATELIMIT": "int?", # Used when configuring llm integration
|
||||
"AI_RATELIMIT": "str?", # Used when configuring llm integration
|
||||
"externalfiles_folder": "str?" # a folder that you want to map in to tandoor. Not needed as /share/ and /media/ are mapped. This folder will be created if it doesn't already exist.
|
||||
```
|
||||
This add-on now uses Tandoor's integrated Nginx server and exposes port 80 (mapped to 9928 by default).
|
||||
|
||||
@@ -48,7 +48,7 @@ Complete documentation: https://docs.tandoor.dev/install/docker/
|
||||
| `POSTGRES_DB` | str | | PostgreSQL database name (required for postgresql_external) |
|
||||
| `AI_MODEL_NAME` | str | | Used for configuring LLMs, supported providers can be found [here](https://docs.litellm.ai/docs/providers/) |
|
||||
| `AI_API_KEY` | str | | API key for accessing LLMs |
|
||||
| `AI_RATELIMIT` | int | | Ratelimit for LLM access |
|
||||
| `AI_RATELIMIT` | str | | Ratelimit for LLM access, specified with [DRF syntax](https://www.django-rest-framework.org/api-guide/throttling/) |
|
||||
|
||||
### Example Configuration
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
"SECRET_KEY": "str",
|
||||
"AI_MODEL_NAME": "str?",
|
||||
"AI_API_KEY": "str?",
|
||||
"AI_RATELIMIT": "int?",
|
||||
"AI_RATELIMIT": "str?",
|
||||
"externalfiles_folder": "str?"
|
||||
},
|
||||
"services": [
|
||||
@@ -118,6 +118,6 @@
|
||||
"slug": "tandoor_recipes",
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "2.0.1-2",
|
||||
"version": "2.0.1-3",
|
||||
"webui": "http://[HOST]:[PORT:80]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user