Skip to content

Conversation

@joshistoast
Copy link
Contributor

@joshistoast joshistoast commented Oct 30, 2025

Summary

Adds the ability to use keyboard controls to adjust prompt weightings using ctrl + up / down.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1407078244531965963

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Oct 30, 2025
@joshistoast joshistoast changed the title feat(prompts): add abstract syntax tree (AST) builder for prompts feat(prompts): hotkey controlled prompt weighting Oct 30, 2025
@lstein
Copy link
Collaborator

lstein commented Nov 2, 2025

I had a quick look at this, but couldn't figure out the UI for adjusting the prompt weightings. I guess the prompt weight code isn't wired up to the UI yet?

What is the intended interface? Does the user select a word or phrase in the prompt textbox and then presses ctrl-up/down in order to increase or decrease the weighting?

@joshistoast
Copy link
Contributor Author

I had a quick look at this, but couldn't figure out the UI for adjusting the prompt weightings. I guess the prompt weight code isn't wired up to the UI yet?

What is the intended interface? Does the user select a word or phrase in the prompt textbox and then presses ctrl-up/down in order to increase or decrease the weighting?

Yeah I've got a local implementation but it's not solid enough to commit yet. But yes that's the current way to use it (ctrl + up/down). There is a long list of rules to make sure it automagically makes intelligent selections to modify, some of those are in the discord forum on this topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend PRs that change frontend files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants