♻️ refactor: clean code

This commit is contained in:
arvinxx
2025-12-20 22:25:56 +08:00
parent 81d33a6c97
commit 4ddb491a74
4 changed files with 0 additions and 35 deletions
@@ -12,7 +12,6 @@
"plugins": [],
"chatConfig": {
"searchMode": "off",
"displayMode": "chat",
"historyCount": 8,
"searchFCModel": {
"model": "gpt-4o-mini",
@@ -57,7 +56,6 @@
"backgroundColor": null,
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -96,7 +94,6 @@
"backgroundColor": "rgba(0,0,0,0)",
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -135,7 +132,6 @@
"backgroundColor": "rgba(0,0,0,0)",
"plugins": ["web_search"],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -174,7 +170,6 @@
"backgroundColor": null,
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -213,7 +208,6 @@
"backgroundColor": "rgba(0,0,0,0)",
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -252,7 +246,6 @@
"backgroundColor": null,
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -291,7 +284,6 @@
"backgroundColor": null,
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -330,7 +322,6 @@
"backgroundColor": null,
"plugins": [],
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -80,7 +80,6 @@
"clientId": null,
"chatConfig": {
"searchMode": "off",
"displayMode": "chat",
"historyCount": 8,
"searchFCModel": {
"model": "gpt-4o-mini",
@@ -126,7 +125,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -166,7 +164,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -206,7 +203,6 @@
"plugins": ["web_search"],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -246,7 +242,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -286,7 +281,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": false,
"enableAutoCreateTopic": true,
@@ -326,7 +320,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -366,7 +359,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -406,7 +398,6 @@
"plugins": [],
"clientId": null,
"chatConfig": {
"displayMode": "chat",
"historyCount": 8,
"enableHistoryCount": true,
"enableAutoCreateTopic": true,
@@ -447,7 +438,6 @@
"clientId": null,
"chatConfig": {
"searchMode": "off",
"displayMode": "chat",
"historyCount": 8,
"searchFCModel": {
"model": "gpt-4o-mini",
@@ -483,7 +483,6 @@
"provider": "anthropic",
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -521,7 +520,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -559,7 +557,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -608,7 +605,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -646,7 +642,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -684,7 +679,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -722,7 +716,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -766,7 +759,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -814,7 +806,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -852,7 +843,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -890,7 +880,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -930,7 +919,6 @@
"openingQuestions": ["Question 1", "Question 2"],
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -968,7 +956,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -1006,7 +993,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -1044,7 +1030,6 @@
},
"chatConfig": {
"autoCreateTopicThreshold": 2,
"displayMode": "chat",
"enableAutoCreateTopic": true,
"historyCount": 1
}
@@ -886,7 +886,6 @@ describe('DataImporter', () => {
},
chatConfig: {
autoCreateTopicThreshold: 2,
displayMode: 'chat',
enableAutoCreateTopic: true,
historyCount: 1,
},