Language settings for copilot answers - #173
Conversation
|
|
||
| ---Prompt for the user to provide a language | ||
| --- @param language string | ||
| function M.PROMPT_ANSWER_LANGUAGE_TEMPLATE(language) |
There was a problem hiding this comment.
This should not be in prompts file anymore. Now its used for populating prompts whn completing automatically so if this isnt part of it it should not be here
| end | ||
|
|
||
| for _, prompt in pairs(config.prompts) do | ||
| prompt.prompt = prompt.prompt .. ' ' .. prompts.PROMPT_ANSWER_LANGUAGE_TEMPLATE(config.language) |
There was a problem hiding this comment.
Do not edit config, see how updating prompt is handled elsewhere.
| }, | ||
| opts = { | ||
| debug = true, -- Enable debugging | ||
| -- language = "English" -- Copilot answer language settings when using default prompts. Default language is English. |
There was a problem hiding this comment.
remove this, add the default config part to default config section (e.g just mirror the change in config.lua)
|
Also should this be part of user prompt? Wouldnt adjustng system prompt be better? |
|
Also maybe something like configurable |
Hi! I re-implemented the functionality implemented in the following link on this branch.
#51
If it is not unnecessary, please consider merging it.