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

refactor: remove starter and premade from cody.json #939

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Sep 6, 2023

RE: https://sourcegraph.slack.com/archives/C05AGQYD528/p1693983800785199

refactor: remove starter and premade fields from custom config

  • Removed the starter and premade fields from the MyPrompts and MyPromptsJSON interfaces in the prompts module.
  • Removed usage of the premade field in the MessageProvider class.
  • Removed logs and telemetry related to the custom premade field.

Seems like permade was not working before as well so no harm in removing it

Follow up

Move starter config option to user/workspace config

Test plan

  • set starter and premade in your cody.json
  • Check the output log, the starter and premade strings should not be found anywhere in the output:
    image
    image

Before:
image

@abeatrix abeatrix requested review from toolmantim and a team September 6, 2023 11:53
@abeatrix abeatrix merged commit 651cd0c into main Sep 6, 2023
10 checks passed
@abeatrix abeatrix deleted the bee/remove-custom-starter branch September 6, 2023 12:29
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.

None yet

3 participants