@@ -38,7 +38,7 @@ type Props = {
3838 prompt_type :
3939 | 'ask-about-context'
4040 | 'edit-files'
41- | 'no-context '
41+ | 'without-files '
4242 | 'code-at-cursor'
4343 | 'find-relevant-files'
4444 ) => void
@@ -203,7 +203,7 @@ export const Main: React.FC<Props> = (props) => {
203203 } else if ( current_prompt_type == 'edit-files' ) {
204204 history = edit_history
205205 set_history = set_edit_history
206- } else if ( current_prompt_type == 'no-context ' ) {
206+ } else if ( current_prompt_type == 'without-files ' ) {
207207 history = no_context_history
208208 set_history = set_no_context_history
209209 } else if ( current_prompt_type == 'code-at-cursor' ) {
@@ -414,7 +414,7 @@ export const Main: React.FC<Props> = (props) => {
414414 if ( current_prompt_type == 'ask-about-context' )
415415 return props . ask_instructions
416416 if ( current_prompt_type == 'edit-files' ) return props . edit_instructions
417- if ( current_prompt_type == 'no-context ' )
417+ if ( current_prompt_type == 'without-files ' )
418418 return props . no_context_instructions
419419 return ''
420420 }
@@ -573,7 +573,7 @@ export const Main: React.FC<Props> = (props) => {
573573 ? props . ask_instructions
574574 : current_prompt_type == 'edit-files'
575575 ? props . edit_instructions
576- : current_prompt_type == 'no-context '
576+ : current_prompt_type == 'without-files '
577577 ? props . no_context_instructions
578578 : current_prompt_type == 'code-at-cursor'
579579 ? props . code_completions_instructions
@@ -590,7 +590,7 @@ export const Main: React.FC<Props> = (props) => {
590590 current_history = ask_history
591591 } else if ( current_prompt_type == 'edit-files' ) {
592592 current_history = edit_history
593- } else if ( current_prompt_type == 'no-context ' ) {
593+ } else if ( current_prompt_type == 'without-files ' ) {
594594 current_history = no_context_history
595595 } else if ( current_prompt_type == 'code-at-cursor' ) {
596596 current_history = code_completions_history
0 commit comments