Skip to content

Comments

Implement /model command to return the current session model#188

Merged
PureWeen merged 1 commit intomainfrom
fix/implement-model-command-to-return-the-cu-20260223-0909
Feb 24, 2026
Merged

Implement /model command to return the current session model#188
PureWeen merged 1 commit intomainfrom
fix/implement-model-command-to-return-the-cu-20260223-0909

Conversation

@StephaneDelcroix
Copy link
Collaborator

Summary

Adds a /model slash command to the PolyPilot Console that displays the current active session's model name.

Changes

  • CommandParser.cs: Added Model to CommandType enum and /model to the parser switch
  • Program.cs: Added HandleModel() handler that prints the active session's model, plus help text updates
  • CommandParserTests.cs: 8 unit tests covering the new command and existing command regression
  • PolyPilot.Tests.csproj: Added Compile Include for CommandParser.cs

Testing

  • All 1188 passing tests continue to pass (1 pre-existing locale-dependent failure unrelated)
  • Mac Catalyst build succeeds with 0 errors

Add /model slash command to CommandParser and Program.cs that displays
the active session's model name. Includes help text updates and unit
tests for the new command.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PureWeen PureWeen merged commit cf1978f into main Feb 24, 2026
@PureWeen PureWeen deleted the fix/implement-model-command-to-return-the-cu-20260223-0909 branch February 24, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants