Enhance AIClient with skill document processing capabilities

Added a new method to run a skill document pipeline, allowing for enhanced processing of user messages based on specified skill documents. Implemented logic to extract relevant text from user messages and improved error handling during processing. Updated message handling to strip URLs from responses to prevent issues with message delivery. Added tests to validate the new processing functionality and ensure robustness.
This commit is contained in:
Mimikko-zeus
2026-03-03 14:57:26 +08:00
parent ffb30390d8
commit 726d41ad79
5 changed files with 172 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"timeout": 60,
"timeout": 300,
"stream": false,
"api_base": "https://api.siliconflow.cn/v1"
},
@@ -33,7 +33,7 @@
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"timeout": 60,
"timeout": 300,
"stream": false,
"api_base": "https://api.siliconflow.cn/v1"
}