镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-05 22:16:49 +00:00
* logging sys to loguru: stage 1 complete * import loguru: stage 2 * logging -> loguru: stage 3 * support o1-preview and o1-mini * logging -> loguru stage 4 * update social helper * logging -> loguru: final stage * fix: console output * update translation matrix * fix: loguru argument error with proxy enabled (#1977) * relax llama index version * remove comment * Added some modules to support openrouter (#1975) * Added some modules for supporting openrouter model Added some modules for supporting openrouter model * Update config.py * Update .gitignore * Update bridge_openrouter.py * Not changed actually * Refactor logging in bridge_openrouter.py --------- Co-authored-by: binary-husky <qingxu.fu@outlook.com> * remove logging extra --------- Co-authored-by: Steven Moder <java20131114@gmail.com> Co-authored-by: Ren Lifei <2602264455@qq.com>
25 行
981 B
Python
25 行
981 B
Python
"""
|
|
对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py
|
|
"""
|
|
|
|
import init_test
|
|
import os, sys
|
|
|
|
|
|
if __name__ == "__main__":
|
|
from test_utils import plugin_test
|
|
plugin_test(
|
|
plugin='crazy_functions.Social_Helper->I人助手',
|
|
main_input="""
|
|
添加联系人:
|
|
艾德·史塔克:我的养父,他是临冬城的公爵。
|
|
凯特琳·史塔克:我的养母,她对我态度冷淡,因为我是私生子。
|
|
罗柏·史塔克:我的哥哥,他是北境的继承人。
|
|
艾莉亚·史塔克:我的妹妹,她和我关系亲密,性格独立坚强。
|
|
珊莎·史塔克:我的妹妹,她梦想成为一位淑女。
|
|
布兰·史塔克:我的弟弟,他有预知未来的能力。
|
|
瑞肯·史塔克:我的弟弟,他是个天真无邪的小孩。
|
|
山姆威尔·塔利:我的朋友,他在守夜人军团中与我并肩作战。
|
|
伊格瑞特:我的恋人,她是野人中的一员。
|
|
""")
|