[go: up one dir, main page]

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

Allows comments in prompt templates #14470

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Allows comments in prompt templates #14470

wants to merge 2 commits into from

Conversation

JonasHelming
Copy link
Contributor

This should be reviewed first: #14465

fixed #14469

What it does

Allows comments in prompt templates

  • Comments must start in the first line only, but can then be multile lines
  • Comments are {{!-- comment --}}

How to test

There are automated tests.

Manual test:
Add comments and observe no effect on:

  • LLM requests
  • Variable detection in the AI configuration view

Check comments are highlighted correctly in the prompt editor:
image

Review checklist

Reminder for reviewers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting on reviewers
Development

Successfully merging this pull request may close these issues.

[Theia AI] Allow comments in prompt templates
1 participant