Ju4tCode
1817102a7c
✨ Feature: 为消息类添加 has
join
include
exclude
方法 ( #1895 )
2023-04-04 21:42:01 +08:00
Ju4tCode
cec45cf89c
⚰️ remove dead namespace ( #1306 )
2022-10-06 11:50:18 +08:00
yanyongyu
118519e15d
♻️ reorganize internal tree
2022-02-06 17:08:11 +08:00
yanyongyu
fd11e2696b
♻️ reorganize class and add bot hook di
2022-02-06 14:52:50 +08:00
yanyongyu
2cd6867bd1
✅ add more tests
2022-01-30 11:04:02 +08:00
yanyongyu
2ec5917709
🐛 fix missing self instance validate
2022-01-29 23:55:14 +08:00
yanyongyu
5fa7806a2f
♿ improve pydantic validate for message
2022-01-29 18:20:30 +08:00
yanyongyu
b43dfb983d
⚰️ remove unused import
2022-01-29 15:36:25 +08:00
yanyongyu
e887c39998
🏷️ update message typing
2022-01-29 13:56:54 +08:00
Ju4tCode
596f763c46
🔀 Merge pull request #691
...
:construction_workerusing: nb-autodoc to generate api docs
2022-01-23 12:07:51 +08:00
yanyongyu
5f3902fe61
✏️ fix hook typo
2022-01-23 11:48:35 +08:00
yanyongyu
c4e204001e
💡 add docstrings
2022-01-22 15:23:07 +08:00
yanyongyu
aef585c60c
💡 add adapter docstring
2022-01-20 14:49:46 +08:00
yanyongyu
a07919ad5c
📝 rewrite docstring
2022-01-17 15:06:53 +08:00
Mix
3b4c4d3081
✨ ⚡ Implement .count
and optimize .get
performance for message slice
2022-01-17 00:28:36 +08:00
Mix
1221baaa94
✨ Implement .get
and .index
methods for Message
2022-01-16 17:13:26 +08:00
pre-commit-ci[bot]
39822378a7
🚨 auto fix by pre-commit hooks
2022-01-16 05:26:55 +00:00
Mix
3041650b4b
✨ add advanced message slice support
2022-01-16 13:17:05 +08:00
yanyongyu
93aec6d3f6
🏷️ add pre-commit flow
2022-01-15 21:27:43 +08:00
hemengyang
ec06010298
令标题符合 markdown 语法
2022-01-12 19:24:01 +08:00
hemengyang
0e97022d3b
调整缩进
2022-01-12 19:10:29 +08:00
hemengyang
6d21cbed55
令用法符合格式
2022-01-12 18:53:30 +08:00
hemengyang
edb20a4786
令异常符合格式
2022-01-12 18:45:35 +08:00
hemengyang
187532930b
令返回符合格式
2022-01-12 18:43:07 +08:00
hemengyang
456d333568
令参数符合标准
2022-01-12 18:31:12 +08:00
hemengyang
a5f32febbd
令参数列表符合 autodoc 格式
2022-01-12 18:25:25 +08:00
hemengyang
4ba1a09fb7
使用 markdown 格式的强调语法
2022-01-12 18:19:21 +08:00
hemengyang
0099364838
删除说明前缀
2022-01-12 18:16:05 +08:00
hemengyang
705a6f7fbf
删除类型
2022-01-12 18:00:56 +08:00
yanyongyu
479952777b
⬆️ upgrade dependency
2022-01-02 18:18:37 +08:00
Mix
43938a004e
♻️ refactor template format_field
to improve readability
2022-01-02 13:13:43 +08:00
Mix
983e5aefdb
✨ support user-defined format spec for message template
2022-01-01 21:52:54 +08:00
yanyongyu
e64f399370
♿ change websocket client to context manager
2021-12-26 13:45:26 +08:00
yanyongyu
7ebae277d1
🔥 remove unused import
2021-12-25 17:44:53 +08:00
yanyongyu
9b2fa46921
✏️ add typing
2021-12-21 18:22:14 +08:00
yanyongyu
c2c3d5ef4b
✅ add test cases
2021-12-20 00:28:02 +08:00
yanyongyu
b64b02bb45
✏️ add missing annotationo
2021-12-07 02:16:18 +08:00
yanyongyu
d80c02ae46
♻️ rewrite adapter abc class
2021-12-06 22:19:05 +08:00
yanyongyu
a6112fdf64
✨ support for mock api result ( resolve #605 )
2021-11-28 02:34:01 +08:00
yanyongyu
a98d98cd12
🎨 format code using black and isort
2021-11-22 23:21:26 +08:00
yanyongyu
e12e18022b
⚗️ template support raw string
2021-10-04 22:00:32 +08:00
Mix
b9c91dc5c3
💡 add document for extended format spec
2021-10-03 16:39:43 +08:00
Mix
6b79106cd1
✨ support use MessageSegment
method as template format spec
2021-10-03 16:26:55 +08:00
Mix
c8a8ff28ec
✨ support use Message
object as message template
2021-10-02 14:05:54 +08:00
yanyongyu
92a411e3b4
🎨 isort format code
2021-09-27 00:19:30 +08:00
StarHeartHunt
5cd61c09a8
🚨 re-export base adapter init
...
according to pep484
2021-09-18 20:22:38 +08:00
yanyongyu
44d13acc81
♻️ rename message formatter into template
2021-09-11 19:48:46 +08:00
yanyongyu
b635d01519
💥 matcher prompt support message formatter
2021-09-11 13:45:03 +08:00
yanyongyu
3fa75b1c78
♻️ separate adapter abstract classes
2021-08-29 00:24:28 +08:00
yanyongyu
5cf665fa21
🐛 fix format field error
2021-08-28 19:42:32 +08:00