⚠️ This plugin provides a translation source for the 'comment-translate' plugin. First, you need to install the extension 'comment-translate' before using it.
Call the "Comment Translate" command "Change Translation Source", change the translation source to Glm translate.
(Shift+Ctrl+P select "Change Translation Source" and choose Glm-translate)
Apply for ZhiPu API free of charge: glm-4-flash AI, we use glm-4,is free, and then configure the Glm API in the vscode plugin. You can also use other glm models, all configured in the plugin.
Set up is complete, if you want to translate more humanized or other standards, you can customize the system prompt and user prompt in settings.
(${source} is the type provided to AI for translation, ${target} is the target language provided to AI, and ${content} is the text content provided to AI)
😊The default ${source} and ${target} are obtained from the configuration of comment-translate