From 8451b06d5334d57af1e4e06efa65f682ae44f31a Mon Sep 17 00:00:00 2001 From: EthanHealy01 Date: Wed, 27 May 2026 12:12:36 +0100 Subject: [PATCH] chore: set aiEngine env vars automatically in dev:all When AIENGINE_URL is provided (i.e. task dev:all), also set AIENGINE_ENABLED=true and AIENGINE_TIMEOUTSECONDS=120 so the backend picks up the full AI engine config without needing it in settings.yml. --- .taskfiles/backend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.taskfiles/backend.yml b/.taskfiles/backend.yml index ccf3a77753..cbf785cb75 100644 --- a/.taskfiles/backend.yml +++ b/.taskfiles/backend.yml @@ -25,9 +25,9 @@ tasks: env: SERVER_PORT: '{{.PORT}}' cmds: - - cmd: '{{if .AIENGINE_URL}}AIENGINE_URL={{.AIENGINE_URL}} AIENGINE_ENABLED=true {{end}}cmd /c ".\gradlew.bat :stirling-pdf:bootRun"' + - cmd: '{{if .AIENGINE_URL}}AIENGINE_URL={{.AIENGINE_URL}} AIENGINE_ENABLED=true AIENGINE_TIMEOUTSECONDS=120 {{end}}cmd /c ".\gradlew.bat :stirling-pdf:bootRun"' platforms: [windows] - - cmd: '{{if .AIENGINE_URL}}AIENGINE_URL={{.AIENGINE_URL}} AIENGINE_ENABLED=true {{end}}./gradlew :stirling-pdf:bootRun' + - cmd: '{{if .AIENGINE_URL}}AIENGINE_URL={{.AIENGINE_URL}} AIENGINE_ENABLED=true AIENGINE_TIMEOUTSECONDS=120 {{end}}./gradlew :stirling-pdf:bootRun' platforms: [linux, darwin] dev:bundled: