Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement model switching for custom prompts #1269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aviatesk
Copy link

Add support for both permanent and temporary model switching in custom prompts using frontmatter configuration. Users can now specify models using either 'model:' for permanent switches or 'temp-model:' for temporary switches.

This change improves the flexibility of custom prompts by allowing users to switch models contextually while maintaining their current model setting.

@aviatesk aviatesk force-pushed the avi/1146 branch 3 times, most recently from facf0b1 to 41d2c82 Compare February 20, 2025 18:40
Add support for both permanent and temporary model switching in custom prompts
using frontmatter configuration. Users can now specify models using either
'model:' for permanent switches or 'temp-model:' for temporary switches.

This change improves the flexibility of custom prompts by allowing users to
switch models contextually while maintaining their default preferences.

- closes logancyang#1146
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.

Have an optional model field in custom prompt
1 participant