Archived
1
0
Fork 0
Commit graph

96 commits

Author SHA1 Message Date
renovate[bot]
a43da59669 fix(deps): update dependency langchain to v0.0.248 2023-08-01 08:08:33 +00:00
renovate[bot]
a36cfda747 fix(deps): update dependency aioconsole to v0.6.2 2023-07-31 21:32:36 +00:00
23ae1fb5f2
feat: partial matrix support (#680)
* build(deps): add matrix-nio

* build(deps): update requirements.txt for matrix-nio

* feat: add example config for matrix

* feat: init matrix support

* feat: do init sync to avoid receiving old messages

* feat: store next sync batch with file

* feat: parse matrix message

* feat: check moderator permission

* feat: redacting message

* feat: toMessageChain for m.text and m.image

* feat: drop m.notice messages

* feat: sending messages

* fix: power level fetching

* fix: rich reply fallback stripping

* style: less log

* feat: guess image content type

* fix: image upload

* feat: sending audio

* chore: add todo

* chore: add todo

* fix: use FinS.result to store room id

As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id.

* fix: print RoomSendError

* fix: public rooms with two user are regarded as DM

* feat: resolving pm

* fix: nio.ErrorResponse

* feat: add post test

* feat: pm post test

* Revert "feat: pm post test"

This reverts commit 3688213c80.

* Revert "feat: add post test"

This reverts commit 259fcf54ca.

* feat: create TPM room

* feat: send typing notifications

* feat: leave empty room

* feat: rich reply formatted fallback support

* fix: import

* fix: include body in formatted rich reply fallbacks

* fix: escape line breaks in html

* fix: <br/> tag

* feat: improve matrix direct messaging

* feat: parse m.emote as m.text

* fix: command run blockingly

* fix: message send error handle

* fix: keep DM room

* fix: reuse of DM rooms

* feat: add error log

* docs: add deploy guide for matrix

* docs: add matrix to readme

* docs: add more warning

* style: remove explictly type declartion  (poljar/matrix-nio#417)

* feat: receive audio message

* feat: standard rich-reply fallback for m.emote

* chore: add matrix to bug report issues template
2023-07-30 17:41:01 +08:00
Dianliang233
a9f691f731 Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-07-28 19:31:38 +08:00
yzhh
2e20544b2b
Merge pull request #699 from Teahouse-Studios/renovate/aiohttp-3.x-lockfile
Update dependency aiohttp to v3.8.5
2023-07-21 01:21:12 +08:00
yzhh
623052a40f
Merge pull request #698 from Teahouse-Studios/renovate/sqlalchemy-1.x-lockfile
Update dependency SQLAlchemy to v1.4.49
2023-07-21 01:20:29 +08:00
dependabot[bot]
0a7818ca48
Bump cryptography from 39.0.2 to 41.0.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.2 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.2...41.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 17:19:25 +00:00
renovate[bot]
5f5f1a8f92
Update dependency aiohttp to v3.8.5 2023-07-20 17:17:29 +00:00
yzhh
a52647e1d5
Merge pull request #659 from Teahouse-Studios/renovate/aiocqhttp-1.x-lockfile
Update dependency aiocqhttp to v1.4.4
2023-07-21 01:16:21 +08:00
renovate[bot]
faac46a092
Update dependency SQLAlchemy to v1.4.49 2023-07-20 17:16:20 +00:00
yzhh
f694b7b07a
Merge pull request #638 from Teahouse-Studios/renovate/aiofile-3.x-lockfile
Update dependency aiofile to v3.8.7
2023-07-21 01:15:23 +08:00
Dianliang233
73e43f57b9 Add (not working) rate limiter 2023-07-16 10:39:02 +08:00
Dianliang233
a4d6b51cbd Fix ask async 2023-07-15 16:15:28 +08:00
yzhh
07910322a9 kook support 2023-06-30 01:32:35 +08:00
yzhh
ba4ed4583e use toml #517; auto convert cfg to toml 2023-06-29 20:57:46 +08:00
Dianliang233
859d40d7bd Update to 206 2023-06-20 14:40:50 +08:00
renovate[bot]
ecbc3e4b17
Update dependency openai to v0.27.8 (#660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 13:01:30 +08:00
renovate[bot]
6aa1191129
Update dependency duckduckgo-search to v3 (#662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 13:01:14 +08:00
renovate[bot]
a79c04157c
Update dependency aiocqhttp to v1.4.4 2023-06-20 04:54:13 +00:00
renovate[bot]
6ba6ad8d2a
Update dependency chromadb to v0.3.26 (#642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 12:52:54 +08:00
renovate[bot]
6e6abbbe3d
Update dependency langchain to v0.0.205 (#636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 12:52:35 +08:00
Dianliang233
6e8dc00686 Add langconv 2023-06-16 15:47:42 +08:00
renovate[bot]
c828ac2812
Update dependency aiofile to v3.8.7 2023-06-05 14:33:35 +00:00
renovate[bot]
09c5bebe00
Update dependency chromadb to v0.3.25 2023-06-03 04:01:26 +00:00
dependabot[bot]
95b63fc348
Bump requests from 2.30.0 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 07:15:24 +00:00
yzhh
61cf62d4fc update requirements 2023-05-22 18:35:41 +08:00
yzhh
f936951ca4 update 2023-05-17 11:02:56 +08:00
yzhh
440e264a92
Merge branch 'master' into dev/phigros_module 2023-05-17 10:45:52 +08:00
Dianliang233
00bd8db16c Use default reg 2023-05-12 18:39:33 +08:00
Dianliang233
3c91211933 Run autopep8 against all files 2023-04-30 11:30:59 +08:00
Dianliang233
d78a3f368a Add self_knowledge tool 2023-04-30 08:54:42 +08:00
yzhh
f443d6c0be add minimum support for phigros b19 2023-04-29 16:19:10 +08:00
Dianliang233
db8d9fc0b6 Update deps 2023-04-29 11:04:16 +08:00
Dianliang233
b44441aec6 Use DuckDuckGo instead of Google search 2023-04-21 20:08:50 +08:00
Dianliang233
6a181dc5e2 Update langchain 2023-04-21 19:36:52 +08:00
Dianliang233
8b4ec1915b Rewrite to use a adapted ReAct model
The vanilla LangChain MKRL proves to be SUPER unreliable.
2023-04-05 16:18:04 +08:00
Dianliang233
41da1db3ba Add ask module
Powered by GPT, ask AkariBot anything
2023-03-31 17:38:53 +08:00
Dianliang233
65114bc971 New summary 2023-03-18 17:06:45 +08:00
Dianliang233
c32c27b18e Add color name and image generation 2023-02-18 15:02:06 +08:00
yzhh
cee85e0867 add pre-commit to dependencies 2023-02-17 18:01:05 +08:00
yzhh
e3bd2e2fb5 auto export requirements.txt from poetry 2023-02-17 17:45:44 +08:00
yzhh
249298a479 #452 2023-02-17 13:37:11 +08:00
dependabot[bot]
a7308820ef
Bump werkzeug from 2.2.2 to 2.2.3
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.2...2.2.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 07:25:34 +00:00
Dianliang233
bb94ed88e8 Add dependencies 2023-02-09 11:14:25 +08:00
yzhh
bc86d2ff90 Update poetry.lock 2023-01-31 22:41:25 +08:00
Dianliang233
464e831ae5 Add poetry 2023-01-27 20:13:05 +08:00