feat: skill 测试
This commit is contained in:
parent
6a21effe69
commit
833e71992b
|
|
@ -17,3 +17,5 @@ async def test_skills():
|
||||||
logger.debug("Loaded skills")
|
logger.debug("Loaded skills")
|
||||||
for s in skills:
|
for s in skills:
|
||||||
logger.debug(f"\n- {s.name}: {s.desc}")
|
logger.debug(f"\n- {s.name}: {s.desc}")
|
||||||
|
res = await s.run("今天广州天气如何")
|
||||||
|
logger.debug(f"\n{json.dumps(res, indent=4, ensure_ascii=False)}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue