Skip to content

feat: show full model name in agent tile#5

Merged
simonCatBot merged 1 commit intomasterfrom
feat/agent-tile-improvements
Mar 27, 2026
Merged

feat: show full model name in agent tile#5
simonCatBot merged 1 commit intomasterfrom
feat/agent-tile-improvements

Conversation

@simonCatBot
Copy link
Copy Markdown
Owner

Summary

Replace the getModelName() truncation logic in FleetSidebar.tsx with a direct return of agent.model.

Previously the function stripped provider prefixes and cut names to 8 chars:

  • anthropic/claude-3-5-sonnetsonnet
  • deepseek/deepseek-chatdeepseek
  • kimi/kimi-ultrakimi

Now the full model identifier is displayed as-is (e.g. anthropic/claude-3-5-sonnet-20241022), preserving provider context.

Changes

  • src/features/agents/components/FleetSidebar.tsx — simplify getModelName() to return agent.model || "default". Removes 9 lines of truncation logic.

Testing

  • npm run lint
  • npm run typecheck
  • npm run test
  • npm run e2e (requires npx playwright install)

Replace getModelName() truncation with a direct agent.model return.
Previously the function stripped provider prefixes (e.g.
'anthropic/claude-3-5-sonnet' → 'sonnet') and cut names to 8 chars.
Now the full model identifier is displayed as-is.
@simonCatBot simonCatBot merged commit d73ab27 into master Mar 27, 2026
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