6 Commits
Author SHA1 Message Date
armistace afc2f36e13 Merge pull request 'speed up CI dependency installation' (#29) from ci-speed-optimizations into master
Create Blog Article if new notes exist / prepare_blog_drafts_and_push (push) Successful in 7m13s
Reviewed-on: #29
2026-07-28 11:08:26 +10:00
armistace 1d18a37fa7 Merge branch 'master' into ci-speed-optimizations 2026-07-28 11:08:19 +10:00
armistace a1a534a86c Merge pull request 'bump all timeouts to 60 minutes for large context models' (#28) from bump-timeouts-60min into master
Create Blog Article if new notes exist / prepare_blog_drafts_and_push (push) Has been cancelled
Reviewed-on: #28
2026-07-28 11:07:43 +10:00
Hermes Agent c86d6e4e4d speed up CI dependency installation 2026-07-28 10:44:00 +10:00
Hermes Agent 5e014f50a5 bump all timeouts to 60 minutes for large context models 2026-07-28 10:38:09 +10:00
Hermes Agent d488c2be1d ci: retry after model swap 2026-07-28 10:32:43 +10:00
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -15,12 +15,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
shell: bash shell: bash
run: | run: |
apt update && apt upgrade -y apt update -qq
apt install rustc cargo python-is-python3 pip python3-venv python3-virtualenv libmagic-dev git -y apt install -y -qq python-is-python3 pip python3-venv libmagic-dev git
virtualenv .venv python -m venv .venv
source .venv/bin/activate source .venv/bin/activate
pip install --upgrade pip pip install --upgrade pip -q
pip install -r requirements.txt pip install -r requirements.txt --prefer-binary -q
git config --global user.name "Blog Creator" git config --global user.name "Blog Creator"
git config --global user.email "ridgway.infrastructure@gmail.com" git config --global user.email "ridgway.infrastructure@gmail.com"
git config --global push.autoSetupRemote true git config --global push.autoSetupRemote true
+2 -2
View File
@@ -140,8 +140,8 @@ class OllamaGenerator:
) )
return response["message"]["content"] return response["message"]["content"]
# Retry mechanism with 30-minute timeout (same as the original) # Retry mechanism with 60-minute timeout (bumped for large context models)
timeout_seconds = 30 * 60 timeout_seconds = 60 * 60
max_retries = 3 max_retries = 3
for attempt in range(max_retries): for attempt in range(max_retries):
@@ -102,7 +102,7 @@ class OllamaWebSearchTool(BaseTool):
"Authorization": f"Bearer {api_key}", "Authorization": f"Bearer {api_key}",
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
timeout=30.0, timeout=60.0,
) )
# Raise for HTTP errors so we can catch them with specific messages # Raise for HTTP errors so we can catch them with specific messages