Skip to content

Commit

Permalink
add: deepseek-reasoner (#187)
Browse files Browse the repository at this point in the history
* add: deepseek-reasoner

* update dify_plugin to 0.0.1-b64

* bump: deepseek to 0.0.4
  • Loading branch information
wl102 authored Feb 8, 2025
1 parent c89086c commit 1b862fa
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion models/deepseek/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ resource:
tool:
enabled: true
type: plugin
version: 0.0.3
version: 0.0.4
1 change: 1 addition & 0 deletions models/deepseek/models/llm/_position.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- deepseek-chat
- deepseek-coder
- deepseek-reasoner
21 changes: 21 additions & 0 deletions models/deepseek/models/llm/deepseek-reasoner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
model: deepseek-reasoner
label:
zh_Hans: deepseek-reasoner
en_US: deepseek-reasoner
model_type: llm
features:
- agent-thought
model_properties:
mode: chat
context_size: 128000
parameter_rules:
- name: max_tokens
use_template: max_tokens
min: 1
max: 8192
default: 4096
pricing:
input: "4"
output: "16"
unit: "0.000001"
currency: RMB
4 changes: 2 additions & 2 deletions models/deepseek/provider/deepseek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ background: '#c0cdff'
configurate_methods:
- predefined-model
description:
en_US: Models provided by deepseek, such as deepseek-chat、deepseek-coder.
zh_Hans: 深度求索提供的模型,例如 deepseek-chat、deepseek-coder 。
en_US: Models provided by deepseek, such as deepseek-reasoner、deepseek-chat、deepseek-coder.
zh_Hans: 深度求索提供的模型,例如 deepseek-reasoner、deepseek-chat、deepseek-coder 。
extra:
python:
model_sources:
Expand Down
2 changes: 1 addition & 1 deletion models/deepseek/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dify_plugin~=0.0.1b61
dify_plugin~=0.0.1b64

0 comments on commit 1b862fa

Please sign in to comment.