# cline-dify **Repository Path**: NovemberRain/cline-dify ## Basic Information - **Project Name**: cline-dify - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-10 - **Last Updated**: 2025-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cline-dify First, install the Clime plugin in VSCode. Clime uses the Dify platform's API to create files and perform AI Q&A, reducing costs. Usage: Modify the .env.example file and change the configuration. Set DIFY_API_URL to the Dify API address. The default is https://dify.d-1.top/v1, but you can change it to your own Dify address. After configuring, run the following commands: pnpm i && pnpm run start Then, in Clime, select "OpenAi Compatible" in the API Provider section. Set the baseurl to http://127.0.0.1:3005/v1. The modelId can be set to any value. For the API key, use the API key from your Dify account. Once the configuration is complete, you can start using the Q&A feature in Clime. Let me know if you need further clarifications or modifications! 中文: 首先vscode中安装cline插件 cline使用dify平台的api进行创建文件以及ai问答,降低成本 使用: 修改.env.example,修改里面的配置 DIFY_API_URL为dify的api地址,默认为https://dify.d-1.top/v1,修改为自己的dify地址 配置后运行 pnpm i && pnpm run start 之后在cline 中api Provider中选择OpenAi Compatible baseurl为http://127.0.0.1:3005/v1 modelId任意填写可以为dify API key设置dify中的api Key即可 配置完成后,在cline中问答即可 ![image](https://github.com/user-attachments/assets/d8251b01-f4e1-4ca9-9167-5d7d572b3828) 记得开启文件权限: ![image](https://github.com/user-attachments/assets/552e1bf7-80ff-47b0-bc26-9e60e7163ad2) image