Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
INSTALL_METHOD=remote
REMOTE_INSTALL_HOST=debug-plugin.dify.dev
REMOTE_INSTALL_PORT=5003
REMOTE_INSTALL_URL=debug.dify.ai:5003
REMOTE_INSTALL_KEY=********-****-****-****-************
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ logs/
*.tmp
*.temp
*.difypkg

# Copilot
.github/copilot-instructions.md

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It's a good practice for text files to end with a newline character. This ensures compatibility with various command-line tools and maintains consistency with other files in the repository. Please add a newline at the end of the file.

.github/copilot-instructions.md

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

- **OpenAI 开源系列**:GPT-OSS-120b、GPT-OSS-20b
- **DeepSeek 系列**:DeepSeek-R1、DeepSeek-V3、DeepSeek-V3.1(128k上下文)
- **Claude 系列**:Claude 3.5 Sonnet、Claude 3.7 Sonnet、Claude 4.0 Sonnet、Claude 4.0 Opus、Claude 4.1 Opus(200k上下文)
- **Claude 系列**:Claude 3.5 Sonnet、Claude 3.7 Sonnet、Claude 4.0 Sonnet、Claude 4.5 Sonnet、Claude 4.0 Opus、Claude 4.1 Opus(200k上下文)
- **GLM 系列**:GLM-4.5、GLM-4.5-Air
- **Kimi 系列**:Kimi-K2
- **Qwen 系列**:Qwen-Turbo、Qwen3-32B、Qwen3-235B-A22B(128k上下文)、Qwen3-Max-Preview(256k上下文)
Expand Down Expand Up @@ -172,8 +172,7 @@ pip install -r requirements.txt

```bash
INSTALL_METHOD=remote
REMOTE_INSTALL_PORT=5003
REMOTE_INSTALL_KEY=your-debug-key-here
REMOTE_INSTALL_URL=debug.dify.ai:5003

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While adding REMOTE_INSTALL_URL is correct, the surrounding changes to this configuration example are inconsistent with the changes in .env.example. The variable REMOTE_INSTALL_KEY was removed, but it is still required. Conversely, REMOTE_INSTALL_HOST was kept, but it should be removed. The correct configuration block should be:

INSTALL_METHOD=remote
REMOTE_INSTALL_URL=debug.dify.ai:5003
REMOTE_INSTALL_KEY=your-debug-key-here

REMOTE_INSTALL_HOST=debug-plugin.dify.dev
```

Expand Down
1 change: 1 addition & 0 deletions models/llm/_position.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- claude-3.5-sonnet
- claude-3.7-sonnet
- claude-4.0-sonnet
- claude-4.5-sonnet
- claude-4.0-opus
- claude-4.1-opus
- qwen-turbo
Expand Down
26 changes: 26 additions & 0 deletions models/llm/claude-4.5-sonnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
model: claude-4.5-sonnet
label:
zh_Hans: Claude 4.5 Sonnet
en_US: Claude 4.5 Sonnet
model_type: llm
features:
- agent-thought
- tool-call
- multi-tool-call
- stream-tool-call
model_properties:
mode: chat
context_size: 200000
parameter_rules:
- name: temperature
use_template: temperature
default: 0.7
min: 0
max: 2
- name: top_p
use_template: top_p
default: 0.6
type: float
- name: presence_penalty
use_template: presence_penalty
default: 0.95