Skip to content

Conversation

marcoscale98
Copy link

Summary

Changes

  • Modified EditCodeSubmissionHandler.kt to hardcode ChatMode.EDIT
  • Removed dependency on global ChatMode configuration for EditCode
  • Added explanatory comments for the design decision

Test plan

  • Verified EditCode now uses EDIT mode prompt (no backticks)
  • Confirmed EditCode works independently from chat interface ChatMode setting
  • Tested that chat interface ChatMode toggle still works for regular chat"

…rtoh#1086)

  EditCode now always uses EDIT mode (no backticks) regardless of the chat interface ChatMode setting. This ensures EditCode
  functionality is consistent and independent, addressing issue carlrobertoh#1086 where backticks were being added to output despite system prompt
  settings.
@carlrobertoh
Copy link
Owner

I'm not exactly sure how this is going to fix the backtick problem during inline editing. The given modes (ask, edit) are only used for Chat.

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.

2 participants