Skip to content

Conversation

@teaonrocks
Copy link

@teaonrocks teaonrocks commented Jul 8, 2025

Description

Previously, using !t3 in Unduck always routed your query through the most recently-used T3 model. This change allows you to pin a specific model on the fly by appending @ to the bang. For example:

  • !t3@o4m what’s the weather? → uses the o4-mini model
  • !t3@g25f summarize this… → uses the gemini 2.5 flash model
    If no suffix is provided (!t3 foo), it still falls back to your default model stored in localStorage (or gemini 2.5 flash, if none is configured).

changes:

src/main.ts:

  • change regex for match to stop where there is an "@"
  • add a t3match regex to get the specified model
  • store matched url in a variable so that it can be overwritten if there is a specified model

added:

src/t3bangs.ts

  • all the recommended models in t3chat

teaonrocks and others added 2 commits July 8, 2025 13:52
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
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