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

Add slash commands for adding context into the assistant #12102

Merged
merged 21 commits into from
May 22, 2024

Conversation

maxbrunsfeld
Copy link
Collaborator

@maxbrunsfeld maxbrunsfeld commented May 21, 2024

Tasks

  • remove old flaps and output when editing a slash command
  • the completing a command name that takes args, insert a space to prepare for typing an arg
  • always trigger completions when typing in a slash command
  • don't show line numbers
  • implement prompt command
  • current-file command
  • state gets corrupted on duplicate line up on a slash command
  • exclude slash command source from completion request

Next steps:

  • show output token count in flap trailer
  • add /project command that matches project ambient context
  • delete ambient context

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label May 21, 2024
maxbrunsfeld and others added 2 commits May 21, 2024 13:52
…h_command_calls

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Nathan <marshall@zed.dev>
@as-cii as-cii marked this pull request as ready for review May 22, 2024 14:50
@maxbrunsfeld maxbrunsfeld merged commit a73a3ef into main May 22, 2024
10 checks passed
@maxbrunsfeld maxbrunsfeld deleted the assistant-slash-commands branch May 22, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants