Open geeklog opened 10 months ago
Actually, we check the language setting before we append the language prompt
My apologies for overlooked this. But there should be an additional '\n' before the language prefix, i.e. "\nRespond in Chinese". Additionally, it is debatable whether using a magic number 1
as the language indicator is a good idea. Perhaps the code should be refactored to provide a more comprehensive solution, such as a different flow to handle the language part of the prompt.
We may change the language settings to enums later
https://github.com/openpilot-hub/devpilot-intellij/blob/c793e6ab8964ca3d3e787a603b8b2542e2acb66b/src/main/java/com/zhongan/devpilot/actions/editor/popupmenu/PopupMenuEditorActionGroupUtil.java#L92
Currently, the response is set to Chinese. Please modify the response language according to the language setting in the user settings panel.