From 98781cd97d0826e75cf4efdc71e1444009c7afe9 Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Wed, 13 May 2026 18:37:18 -0700 Subject: [PATCH] chore(bot): remove maxSessionTurns and improve artifact archiving - Removed the `maxSessionTurns: 30` limit from the bot's configuration as requested. - Added `if: always()` to the `Archive Brain Data` step in the workflow to ensure logs (telemetry, debug) are available even when the agent fails or times out. --- .github/workflows/gemini-cli-bot-brain.yml | 1 + tools/gemini-cli-bot/.gemini/settings.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/gemini-cli-bot-brain.yml b/.github/workflows/gemini-cli-bot-brain.yml index 9ea2b09813..c4743e4479 100644 --- a/.github/workflows/gemini-cli-bot-brain.yml +++ b/.github/workflows/gemini-cli-bot-brain.yml @@ -254,6 +254,7 @@ jobs: fi - name: 'Archive Brain Data' + if: always() uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # ratchet:actions/upload-artifact@v4 with: name: 'brain-data' diff --git a/tools/gemini-cli-bot/.gemini/settings.json b/tools/gemini-cli-bot/.gemini/settings.json index 2ea20236f3..44378ccae3 100644 --- a/tools/gemini-cli-bot/.gemini/settings.json +++ b/tools/gemini-cli-bot/.gemini/settings.json @@ -1,7 +1,4 @@ { - "model": { - "maxSessionTurns": 30 - }, "security": { "environmentVariableRedaction": { "allowed": ["GH_TOKEN", "GITHUB_TOKEN"]