PyCharm接入DeepSeek-V3辅助AI编程
DeepSeek-V3
效果演示
创建 API Key
https://www.deepseek.com/
在 PyCharm中下载Continue插件
配置 Continue
{'completionOptions': {'BaseCompletionOptions': {'temperature': 0.0,'maxTokens': 256}},'models': [{'title': 'DeepSeek','model': 'deepseek-chat','contextLength': 128000,'apiKey': 'REDACTED','provider': 'deepseek','apiBase': 'https://api.deepseek.com/beta'}],'tabAutocompleteModel': {'title': 'DeepSeek Coder','model': 'deepseek-coder','apiKey': 'REDACTED','provider': 'deepseek','apiBase': 'https://api.deepseek.com/beta'},'customCommands': [{'name': 'test','prompt': '{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.','description': 'Write unit tests for highlighted code'}],'contextProviders': [{'name': 'diff','params': {}},{'name': 'folder','params': {}},{'name': 'codebase','params': {}}],'slashCommands': [{'name': 'share','description': 'Export the current chat session to markdown'},{'name': 'commit','description': 'Generate a git commit message'}]}
-END-
推荐阅读:
👉Python matplotlib保姆级教程 👉保姆级matplotlib教程—详细目录 👉Python seaborn保姆级教程 👉保姆级seaborn教程:详细目录
交流学习