CommandCodeAI / CommandCodeAI/command-code

Inline 'settings' slash commands should be invokable at any point in prompt, and return to prompt

Open
#536 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Feature Description

Typing /model in the middle of a prompt leaves it as a raw string, i should be able to invoke /model, go to model, change it, then return to my prompt as if nothing happened and i never typed /model.

Use Case

Often i find myself mid way through a prompt unable to switch my model, or do some settings lookup without removing my entire prompt, doing the lookup then repasting. Would be nice if it allowed that invocation mid way through a prompt, even if its just restricted to the hardcoded settings commands.

Additional Context
Image

I want this ^^^

here:
Image

How important is this to you?

Important for my workflow

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the prompt input handling and the existing hardcoded settings-command dispatch, then trace how command execution changes the prompt state. Done means /model and the other supported settings commands can be invoked from the middle of a prompt, while the original prompt remains intact and is restored afterward.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.