casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
49 stars 9 forks source link

Limit `POST /api/v2/ai/skybox` prompts to 600 characters #337

Closed KallynGowdy closed 9 months ago

KallynGowdy commented 10 months ago

BlockadeLabs has a limit of 600 characters on prompts sent to their API. In order to avoid errors from calling their API, we should enforce this limit on our end so that the user gets a reasonable error.