chore(infra): add AI flyer parsing configuration and retry logic
- Add FLYER_AI_TIMEOUT_MS and FLYER_AI_RETRIES environment variables - Configure timeout and retry settings in compose.yml - Update AiFlyerParserService with configurable timeout and retry logic - Add text window reduction strategy for retry attempts - Update documentation in TEKNISK_BESKRIVNING.md - Fix ESLint configuration in app.security.spec.ts
This commit is contained in:
+5
-3
@@ -16,9 +16,11 @@ AUTH_SECRET=byt-ut-mig
|
||||
# OBS: Appen vägrar starta om detta saknas.
|
||||
JWT_SECRET=byt-ut-mig
|
||||
|
||||
# Mistral AI
|
||||
# Hämtas från: https://console.mistral.ai/
|
||||
MISTRAL_API_KEY=
|
||||
# Mistral AI
|
||||
# Hämtas från: https://console.mistral.ai/
|
||||
MISTRAL_API_KEY=
|
||||
FLYER_AI_TIMEOUT_MS=45000
|
||||
FLYER_AI_RETRIES=2
|
||||
|
||||
# Publik URL (används av frontend)
|
||||
NEXT_PUBLIC_APP_URL=https://recept.gynther.se
|
||||
|
||||
Reference in New Issue
Block a user