设置
The following settings are available for the extension. You can set them in your
`settings.json` file, or open the command palette (Ctrl+Shift+P) and search for
"Preferences: Open Settings (UI)".
-
genaiscript.localTypeDefinitions: 为GenAIScript使用本地类型定义(在任何包含*.genai.*文件的项目中的.genaiscript.d.ts和tsconfig.json)。 (默认值:true) -
genaiscript.githubCopilotPrompt: 在.github/prompts文件夹中添加自定义提示以支持GenAIScript脚本生成。(默认:true) -
genaiscript.hideServerTerminal: 对用户隐藏服务器终端。(默认值:true) -
genaiscript.languageChatModels: 从GenAIScript模型(openai:gpt-4)到Visual Studio Code语言聊天模型(github...)的映射关系 -
genaiscript.diagnostics: 启用开发者诊断模式。包括保持终端开启。(默认值:false) -
genaiscript.debug: 启动GenAIScript服务器时将设置为'DEBUG'环境变量的日志记录类别列表。如果'diagnostics'开启,则会被'*'覆盖。(默认值:"script") -
genaiscript.cache: 启用或禁用LLM请求缓存支持。(默认值:true) -
genaiscript.cli.version: 指定使用的GenAIScript CLI版本。默认与扩展版本匹配。 -
genaiscript.cli.path: GenAIScript CLI的路径。默认使用npx。