Skip to content

add standalone template parameter in yaml model config #5236

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

Merged
merged 6 commits into from
Apr 29, 2025

Conversation

mq200
Copy link
Contributor

@mq200 mq200 commented Apr 18, 2025

Description

Add support for the template parameter in the YAML model configuration.
It is supported in the JSON configuration.
Allows to bypass template auto-detection when needed.

Checklist

  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

@mq200 mq200 requested a review from a team as a code owner April 18, 2025 23:04
@mq200 mq200 requested review from sestinj and removed request for a team April 18, 2025 23:04
Copy link

netlify bot commented Apr 18, 2025

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 176c08d
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/680adee1e5379700087ff956
😎 Deploy Preview https://deploy-preview-5236--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mq200 mq200 force-pushed the feat/yaml_support_template branch from be00a84 to ff26d16 Compare April 21, 2025 16:05
Copy link
Contributor

@sestinj sestinj left a comment

Choose a reason for hiding this comment

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

@mq200 this should go under the promptTemplates section as a property called chatTemplate in my opinion

@mq200
Copy link
Contributor Author

mq200 commented Apr 24, 2025

@sestinj okay, I kept the enum type for the chatTemplate property of promptTemplates but can switch to string to align with apply/edit

@sestinj
Copy link
Contributor

sestinj commented Apr 29, 2025

ah I understand now sorry for the confusion. this looks good and I'll make a quick follow-up edit in another PR

@sestinj sestinj merged commit 9223ace into continuedev:main Apr 29, 2025
32 checks passed
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