Skip to content

Commit

Permalink
Code Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed May 24, 2024
1 parent 96fa2b8 commit aa2a427
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/fittencode/prompt_providers/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ local function make_range_content(buffer, range)
return table.concat(lines, '\n')
end

local NO_LANG_ACTIONS = { 'StartChat', 'IdentifyProgrammingLanguage', 'AnalyzeData', 'TranslateText', 'SummarizeText' }
local NO_LANG_ACTIONS = {
'StartChat',
'IdentifyProgrammingLanguage',
'AnalyzeData',
'TranslateText',
'SummarizeText',
'GenerateCode' }

local MAP_ACTION_PROMPTS = {
StartChat = 'Answer the question above',
Expand Down

0 comments on commit aa2a427

Please sign in to comment.