Commit Graph

10 Commits

Author SHA1 Message Date
雅诺狐
1b9c86abef Refactor web search plugin and clean up code
Refactored the web search plugin by removing the old Bing search implementation and reorganizing the plugin structure. Introduced modular search engine classes under 'web_search_tool/engines' and utility tools under 'web_search_tool/tools' and 'web_search_tool/utils'. Updated references and initialization logic to support multiple search engines and improved maintainability. Also performed minor code cleanups and replaced 'except ...: pass' with 'except ...: ...' for brevity.
2025-11-19 22:45:42 +08:00
雅诺狐
90f5e2357e Improve anti-injector status handling and statistics
Moved statistics update to only occur when the anti-injector system is enabled. Enhanced statistics reporting to handle disabled state and improved uptime calculation to use session start time. Updated status command to provide clearer feedback when the anti-injector system is disabled or when errors occur. Also fixed a docstring in prompt_builder.py for clarity.
2025-11-19 22:45:03 +08:00
UnCLAS-Prommer
7ef0bfb7c8 完成所有类型注解的修复 2025-07-13 00:19:54 +08:00
github-actions[bot]
fd09550af9 🤖 自动格式化代码 [skip ci] 2025-06-21 04:35:56 +00:00
SengokuCola
9359ee1e3b fix:修复模板炸掉 2025-06-21 12:17:48 +08:00
SengokuCola
327580dbec fix:ai哥神秘修复无法模式切换 2025-06-15 01:27:54 +08:00
春河晴
7b4e7b94f8 use structlog instead of loguru 2025-06-11 15:17:08 +09:00
SengokuCola
4cb3850d0c feat:完善个人侧写 2025-06-03 18:13:48 +08:00
tcmofashi
ff9efb1c5e fix: 恢复template_info功能 2025-05-23 11:04:49 +08:00
SengokuCola
fed71bccad fix:调整目录结构,优化hfc prompt,移除日程,移除动态和llm判断willing模式, 2025-05-13 18:37:55 +08:00