fix(ci): use llama3.2:1b in CI, increase Ollama timeout, add --model arg#502
Merged
JerrettDavis merged 2 commits intomainfrom Apr 27, 2026
Merged
fix(ci): use llama3.2:1b in CI, increase Ollama timeout, add --model arg#502JerrettDavis merged 2 commits intomainfrom
JerrettDavis merged 2 commits intomainfrom
Conversation
…model arg - OllamaClient.cs: increase HttpClient.Timeout 5 min -> 10 min to handle slow CPU inference on GitHub Actions without a hard crash - Program.cs: add --model CLI arg (default qwen3.5:9b) forwarded to AiTrainingDataSynthesizer so CI can override model at runtime - train-model.yml: switch CI model qwen3.5:9b->llama3.2:1b (1.3GB vs 6.6GB, much faster on CPU); reduce default examples 150->50; pass --model in synthesize and validate steps Fixes Step 8 'Synthesize training examples' TaskCanceledException (HttpClient.Timeout 300s) that caused run 24970871185 to fail. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Generated 50 examples via llama3.2:1b Triggered by: push Workflow run: 24971706148
Contributor
Code Coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root Cause
Step 8 'Synthesize training examples' was failing with TaskCanceledException in GitHub Actions CI due to:
Changes
Fixes
Resolves workflow run #24970871185 TaskCanceledException