|
|
@@ -105,12 +105,16 @@ public class DouBaoAgentService {
|
|
|
// 构造 tools
|
|
|
JSONObject feature = new JSONObject();
|
|
|
feature.put("ai_search", JSONObject.of(
|
|
|
- "type", "enabled",
|
|
|
+ "type", "disabled",
|
|
|
"role_description", roleDescription
|
|
|
));
|
|
|
+ feature.put("reasoning_search", JSONObject.of(
|
|
|
+ "type", "enabled",
|
|
|
+ "role_description", roleDescription
|
|
|
+ ));
|
|
|
feature.put("chat", JSONObject.of("type", "disabled"));
|
|
|
feature.put("deep_chat", JSONObject.of("type", "disabled"));
|
|
|
- feature.put("reasoning_search", JSONObject.of("type", "disabled"));
|
|
|
+
|
|
|
|
|
|
JSONObject tool = new JSONObject();
|
|
|
tool.put("type", "doubao_app");
|