fix(tandoor): Change AI_RATELIMIT to str type

This commit is contained in:
Elias Sjögreen
2025-08-09 13:17:53 +02:00
committed by GitHub
parent 0634631402
commit 83b403d086
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ Optional :
"POSTGRES_DB": "str?" # Needed for postgresql_external "POSTGRES_DB": "str?" # Needed for postgresql_external
"AI_MODEL_NAME": "str?", # Used when configuring llm integration "AI_MODEL_NAME": "str?", # Used when configuring llm integration
"AI_API_KEY": "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. "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). This add-on now uses Tandoor's integrated Nginx server and exposes port 80 (mapped to 9928 by default).

View File

@@ -48,7 +48,7 @@ Complete documentation: https://docs.tandoor.dev/install/docker/
| `POSTGRES_DB` | str | | PostgreSQL database name (required for postgresql_external) | | `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_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_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 ### Example Configuration

View File

@@ -109,7 +109,7 @@
"SECRET_KEY": "str", "SECRET_KEY": "str",
"AI_MODEL_NAME": "str?", "AI_MODEL_NAME": "str?",
"AI_API_KEY": "str?", "AI_API_KEY": "str?",
"AI_RATELIMIT": "int?", "AI_RATELIMIT": "str?",
"externalfiles_folder": "str?" "externalfiles_folder": "str?"
}, },
"services": [ "services": [
@@ -118,6 +118,6 @@
"slug": "tandoor_recipes", "slug": "tandoor_recipes",
"udev": true, "udev": true,
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.0.1-2", "version": "2.0.1-3",
"webui": "http://[HOST]:[PORT:80]" "webui": "http://[HOST]:[PORT:80]"
} }