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

Put all prompts under MIT license #15159

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

Put all prompts under MIT license #15159

wants to merge 2 commits into from

Conversation

JonasHelming
Copy link
Contributor

fixed #15158

What it does

In our repository (Theia), we have several prompt templates.
These templates are strings and are user editable, so the user has a UI to change them at runtime in the tool. As we do not want to get into any license discussions and allow users to adapt their prompts, this PR extracts all prompt templates to separate files and changes their license to MIT for these prompt templates.

The PR also adds a plain MIT license file to the repo, as the existing one is targeted at VS Code code.

See here for more details, we will let contributors agree on this PR on the re licensing

How to test

All agents should work without any change.

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

@JonasHelming JonasHelming requested a review from msujew March 10, 2025 13:37
@JonasHelming
Copy link
Contributor Author

@msujew No technical review is needed from you, but could you check and +1 the general operation as a second project lead before I ask all contributor to +1 on the PR, please?

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

+1

@@ -1,19 +1,12 @@
/* eslint-disable @typescript-eslint/tslint/config */
Copy link
Member

Choose a reason for hiding this comment

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

Question: Will there be enough files in the framework with an MIT license to warrant a change to our eslint check? We could make the MIT license a valid license for the check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thought about it, but at the moment, I believe we are stable.

Copy link
Contributor

@eneufeld eneufeld left a comment

Choose a reason for hiding this comment

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

Looks good to me.
I don't understand why the license header of the prompt files does not contain the original author anymore. I left a comment on 2 of them. but this applies to all of them.

@@ -0,0 +1,45 @@
/* eslint-disable @typescript-eslint/tslint/config */
// *****************************************************************************
// Copyright (C) {year, original author} and others.
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be filled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed for all headers

@JonasHelming JonasHelming requested a review from eneufeld March 12, 2025 10:03
@JonasHelming
Copy link
Contributor Author

@eneufeld Ping

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] Put all prompts under MIT
3 participants