Conversation
…and improve version check logic
… and add custom Ollama host support
…ound for HTTP2 framing errors on Windows
There was a problem hiding this comment.
Pull request overview
This PR prepares the 0.4.0 release by adding custom Ollama host support (including local model discovery), improving UI behavior around model list refresh, tightening shell-safety for spawned commands, and expanding CI/release automation.
Changes:
- Add model list replacement helper to preserve selection by model name when the list is rebuilt.
- Harden Windows/terminal launch behavior: sanitize
OLLAMA_HOSTfor shell interpolation and adjust cmd.exesetquoting. - Bump version to
0.4.0and update docs/changelog; expand GitHub Actions workflow to run on PRs with concurrency cancellation.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| ui/app.slint | Tweaks banner close icon glyph and typography for better cross-platform rendering. |
| src/ollama/launch.rs | Tightens URL sanitization and improves Windows OLLAMA_HOST setting/quoting for spawned terminals. |
| src/main.rs | Preserves selected model by name across model list rebuilds via a helper function. |
| README.md | Documents custom host + local model behavior and updated usage steps. |
| CHANGELOG.md | Adds 0.4.0 release notes and updates compare links. |
| Cargo.toml | Bumps crate version to 0.4.0. |
| Cargo.lock | Updates locked package version to 0.4.0. |
| .github/workflows/release.yml | Runs CI on PRs and adds concurrency; adjusts version gating and job dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| check-version: | ||
| name: Check version | ||
| needs: test | ||
| runs-on: ubuntu-latest | ||
| outputs: |
| 2. (Optional) Paste your **Ollama host** URL (default `http://localhost:11434`) and hit | ||
| **Test** to pull that server's local models into the dropdown. | ||
| 3. Choose an **agent** and a **model** from the inline dropdowns. | ||
| 4. Hit **Launch**. The status bar confirms what was started. Click the ✕ to dismiss it. |
| - **Dismissible status banner** — the success/error banner at the bottom now has a close | ||
| button (✕) so it can be cleared without waiting for the next event. | ||
|
|
| - **Windows**: font-based icons (`▾`, `✕`, etc.) render as glyphs instead of boxes — | ||
| explicit `font-family` fallback list on the affected `Text` elements. |
|
@copilot perche' la CI ha skippato dei passaggi mentre sono in PR? deve fare sempre tutti i passi. e' possibile mettere un "bottone" nella sezione delle PR su github in maniera tale che anche se uno pusha su una PR aperta non parte in automatico. Deve partire solo quando premo il pulsante per farla girare |
Fatto in |
@copilot non e' possibile mettere un bottone nella pagina della pull aperta? dove dice Review required e fa vedere - quando runna - l'avanzamento della CI? |
No, purtroppo non si può aggiungere un bottone personalizzato direttamente nella pagina PR (nella sezione checks/review). Con GitHub Actions il trigger manuale è solo Run workflow nella tab Actions. Se vuoi un trigger dalla PR, l’alternativa più vicina è un comando tipo |
@copilot k allora rimetti la CI su pull-request |
Fatto in |
This PR updates CI/release workflow behavior and documentation consistency following review feedback.
Changes Made
.github/workflows/release.ymlto:pull_requestagainworkflow_dispatch(Run workflow)pushtomainREADME.md:✕→×CHANGELOG.md:✕→×in both relevant entriesThese changes ensure CI runs automatically on PR updates (and on main pushes), while still allowing manual runs and keeping docs consistent with the UI.