Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

fix(deepseek): explicitly disable thinking mode for non-thinking Flash roles

mason505224176c2805f6
diff --git a/backend/pkg/providers/deepseek/config.yml b/backend/pkg/providers/deepseek/config.yml
index bbecf21b..2f3b85ab 100644
--- a/backend/pkg/providers/deepseek/config.yml
+++ b/backend/pkg/providers/deepseek/config.yml
@@ -4,6 +4,9 @@ simple:
top_p: 0.5
n: 1
max_tokens: 8192
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -16,6 +19,9 @@ simple_json:
n: 1
max_tokens: 4096
json: true
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -63,6 +69,9 @@ adviser:
top_p: 0.8
n: 1
max_tokens: 8192
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -83,6 +92,9 @@ searcher:
top_p: 0.8
n: 1
max_tokens: 4096
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -94,6 +106,9 @@ enricher:
top_p: 0.8
n: 1
max_tokens: 4096
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
diff --git a/examples/configs/deepseek.provider.yml b/examples/configs/deepseek.provider.yml
index b9774a28..485d6f39 100644
--- a/examples/configs/deepseek.provider.yml
+++ b/examples/configs/deepseek.provider.yml
@@ -4,6 +4,9 @@ simple:
top_p: 0.5
n: 1
max_tokens: 4000
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -16,6 +19,9 @@ simple_json:
n: 1
max_tokens: 4000
json: true
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -63,6 +69,9 @@ adviser:
top_p: 0.8
n: 1
max_tokens: 6000
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -83,6 +92,9 @@ searcher:
top_p: 0.8
n: 1
max_tokens: 4000
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28
@@ -94,6 +106,9 @@ enricher:
top_p: 0.8
n: 1
max_tokens: 4000
+ extra_body:
+ thinking:
+ type: disabled
price:
input: 0.14
output: 0.28