Skip to content

Conversation

@MadKangYu
Copy link

@MadKangYu MadKangYu commented Jan 25, 2026

Summary

  • Add setSessionModel/getSessionModel to session state for tracking current model
  • Store model info from chat.message hook
  • Display **Current Model**: provider/modelID in slashcommand and skill output

Fixes model name inconsistency where system prompt shows exact model ID (e.g., claude-opus-4-5-20251101) but slashcommand/skill output didn't reflect this.


Summary by cubic

Show the current model (provider/modelID) in slashcommand and skill outputs, and improve the session list with titles/previews, timestamps, and change summaries. Tracks the model per session from chat.message to fix model name inconsistencies.

  • New Features
    • Session state: setSessionModel, getSessionModel, clearSessionModel to track per-session model.
    • Capture providerID/modelID from chat.message and store per session.
    • Display "Current Model: provider/modelID" in slashcommand and skill outputs; tools accept sessionID to fetch it.
    • Session list: pass metadata to formatter and show Title/Preview, Updated (YYYY-MM-DD HH:MM), and Changes (files/+additions/-deletions).

Written for commit 740e6b1. Summary will update on new commits.

@github-actions
Copy link
Contributor

Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA).

To sign the CLA, please comment on this PR with:

I have read the CLA Document and I hereby sign the CLA

This is a one-time requirement. Once signed, all your future contributions will be automatically accepted.


I have read the CLA Document and I hereby sign the CLA


Max_Pro seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Max_Pro added 3 commits January 26, 2026 18:36
…tput

- Add setSessionModel/getSessionModel to session state
- Store model info from chat.message hook
- Display **Current Model**: provider/modelID in command/skill output
- Add title field to SessionInfo type
- Pass full SessionMetadata to formatSessionList instead of just IDs
- Add Title column to session list output
- Fix: title was previously read from metadata but discarded before display
…hanges

- Add first user message preview (50 chars) when title is empty
- Show precise timestamp (YYYY-MM-DD HH:MM) instead of date only
- Display file changes summary (files/additions/deletions)
- Rename columns for clarity: Title → Title/Preview, First/Last → Updated
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.

1 participant