7b731ebda8
* test: enhance test framework with comprehensive fixtures and mocks - Add shared mock builders for aiocqhttp, discord, telegram - Add test helpers for platform configs and mock objects - Expand conftest.py with test profile support - Update coverage test workflow configuration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * refactor(tests): 移动并重构模拟 LLM 响应和消息组件函数 * fix(tests): 优化 pytest_runtest_setup 中的标记检查逻辑 --------- Co-authored-by: whatevertogo <whatevertogo@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
455 B
JSON
22 lines
455 B
JSON
{
|
|
"provider": [
|
|
{
|
|
"id": "test-openai",
|
|
"type": "openai_chat_completion",
|
|
"model": "gpt-4o-mini",
|
|
"key": ["test-key"]
|
|
}
|
|
],
|
|
"platform": [],
|
|
"provider_settings": {
|
|
"default_personality": null,
|
|
"prompt_prefix": "",
|
|
"image_caption_provider_id": "",
|
|
"datetime_system_prompt": true,
|
|
"identifier": true,
|
|
"group_name_display": true
|
|
},
|
|
"default_personality": null,
|
|
"timezone": "Asia/Shanghai"
|
|
}
|