Repository navigation
[Goal by GPT-6 Astra] Update Mistral integration and add GLM model support - #2628
Conversation
…n and add support for the GLM model.
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 9296e95 Processed 2 comments:
Summary of ChangesFixed the CI lint failure by consolidating duplicated analysis logging in Validation passed: core lint with zero warnings, core build, and 35 focused tests. One installed-Vibe test was skipped because No visual changes; no preview needed. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…sis logging in `VibeAgent.ts`, bringing it below the 400-line limit while preserving behavior. Fixed the CI lint failure by consolidating duplicated analysis logging in `VibeAgent.ts`, bringing it below the 400-line limit while preserving behavior. Validation passed: core lint with zero warnings, core build, and 35 focused tests. One installed-Vibe test was skipped because `PROPR_VIBE_PYTHON` wasn’t configured. No visual changes; no preview needed. PR: #2628 Comment by: @propr-dev[bot] (ID: 5890892997) Comment by: @github-actions[bot] (ID: 5890893554) Model: gpt-6-astra
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved both conflicts; no merge conflict markers remain. The full-file scan also found harmless documentation separators in dependencies.
Validation passed: Bash syntax, Dockerfile instruction checks and all 11 embedded shell blocks, version consistency, whitespace checks, and 30 existing tests. A full Docker image build was not run. 🤖 Resolution Details
System-triggered merge conflict resolution |
…ate-the-mistral-agent--20260929-1244-cw3 Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - Dockerfile.agent - scripts/build-images.sh PR: #2628 Model: gpt-6-astra
|
/review opus |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — opusOverall EvaluationThis PR updates the Mistral Vibe integration from CLI 2.25.4 to 2.25.8. It adds Mistral-hosted GLM 5.3 and GLM 5.2 (
At runtime, Vibe 2.25.8 does not bundle GLM presets. The PR works around this by injecting a I traced the migration order in
The GLM preset path is the same for execute and analysis runs, because both go through ✅ Custom Vibe models are no longer dropped — ✅ GLM is wired end to end — The catalog entries, ✅ Runtime preset does not touch host config — The GLM preset is passed as a container environment variable. The read-only Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Derive the GLM preset from the catalog
Adding the next GLM version means editing this string check as well as S2: 🟢 Warn when GLM is added to agents pinned below 2.25.8Migration adds Either way, a save-time warning in the AI Agents dialog would make the behavior clear. The docs note ("Use the default CLI version...") partly covers this. S3: 🟢 Note the narrowed Vibe retirement semanticsFor Vibe, any stale ID that is not in S4: 🟢 Run the installed-package contract check in CIThe S5: 🟢 Keep unrelated refactors in separate commitsThe ScoreThe PR meets the objective: the CLI is bumped, GLM is added through all configuration paths, existing configurations are preserved, and tests and docs are updated. There are no verified regressions and all current-head checks pass. Remaining items are optional hardening and maintainability improvements. Score: 8/10 🤖 Review Details
🤖 Review by ProPR |
Merge docs/0.9.0-user-docs-cleanup (now containing main with #2612 and #2628). Apply the doc fixes found for #2612 now that it has merged: list the notifications resources (and allow the token in the observable-surface doc test), retitle the optional-expectedHead step, drop stale epic process text from mcp-operator-surface.md, and document that a non-empty trigger whitelist is exclusive, ignores the [bot] suffix and skips the blacklist, and that empty follow-up keywords trigger on every allowed comment. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Goal Implementation Summary
✅ Goal completed successfully.
Goal: Update the Mistral agent integration and add support for the GLM model.
Research is expected as part of this work:
Branch:
goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3Goal ID:
012588ca-a2b9-46ee-85eb-6b58504beacbSummary of Changes
I’ll inspect the integration and repository guidance, research the current Mistral and GLM options, then implement and test the configuration changes. I’ll leave commits and publishing to ProPR.
PyPI lists Mistral Vibe 2.25.8; the repository pins 2.25.4. I’m checking the released package’s model definitions to confirm which GLM identifier Vibe supports and how existing configurations should migrate.
Mistral now hosts GLM 5.3 (
zai-glm-5-3) and still offers GLM 5.2. Both have a 1M context window. The released CLI needs model configuration entries for them, so adding dropdown options alone would fail at runtime. I’ll wire those entries through Vibe’s configuration and keep Mistral Medium as the default. Mistral model docsThe catalog, version pins, GLM runtime presets, and migration changes are in place; all 61 focused tests pass. I also found that migration removed custom Vibe model aliases. It now preserves those aliases and removes only the known retired Devstral defaults. Next I’ll verify label routing, selection in the installed CLI, and the browser controls.
The installed Vibe 2.25.8 package resolves both GLM presets to the Mistral provider and retains existing local/custom models. Label routing and 85 focused tests pass, and core typechecking is clean. Browser verification is underway; I’ll capture the GLM choices once the dialog checks pass.
The browser test passes: the dialog offers both GLM models and sends the selected GLM default to the configuration API. I’ve captured that state for the preview. Final review caught and fixed a migration edge case so retired Devstral defaults consistently move to Medium. UI typechecking needs generated workspace dependencies; I’m building those and rerunning it.
Implementation and validation are complete. Core and UI typechecks, focused server tests, UI model-option tests, and the browser save test pass. The preview is ready. Runtime selection was verified against the installed Vibe package; live Mistral inference was not run. I’m handing the validated files to ProPR for publishing.
{"checkpointReady":true,"message":"feat(vibe): update CLI and support Mistral-hosted GLM models","include":["Dockerfile.agent","scripts/build-images.sh","packages/shared/src/modelDefinitions.ts","packages/core/src/agents/version/types.ts","packages/core/src/agents/impl/VibeAgent.ts","packages/core/src/config/modelAliases.ts","packages/core/src/config/configManagerAgentMigrations.ts","propr-ui/src/components/ui/ProviderLogo.tsx","propr-ui/src/pages/SettingsPage/modelSelectionHelpers.test.ts","propr-ui/e2e/vibe-model-selection.pw.ts","test/modelDefinitions.test.ts","test/configManagerAgents.test.ts","test/vibeAgent.test.ts","test/vibeModelSelection.test.ts","library_docs/vibe/index.md","library_docs/vibe-cli.md","docs/docs/features/agents-and-models.md"],"summary":"Updated Vibe to 2.25.8 and added GLM 5.3/5.2 across configuration, routing, display mappings, and runtime presets. Preserved existing custom configurations and repaired retired Devstral defaults. Typechecks, focused tests, installed-CLI configuration checks, and browser selection/save verification pass. Documentation and visual preview are ready. Live inference was not run. Completed in approximately 12 minutes."}
ProPR published the checkpoint. I’ll check the current files and validation evidence for any remaining gaps.
Completed in commit
73029d8.Live inference was not run. Total elapsed time: about 12 minutes.
🤖 Implementation Details
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback.
This PR description was updated automatically by ProPR after the goal completed.
Visual preview
Vibe GLM model selection
The Vibe agent configuration offers GLM 5.3 and GLM 5.2 alongside Mistral Medium; GLM 5.3 is selected as the default.
Original unavailable: managed storage is unavailable or the upload has expired.