159 Commits

Author SHA1 Message Date
5bdfe6fbad fix: name is wrong for limit
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 19:27:57 +08:00
7a4e391ae6 feat: allow --limit for the user stats
Signed-off-by: Keming <kemingy94@gmail.com>
2025-07-17 09:09:33 +08:00
b20051ef8e fix: format beauty
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-16 19:55:47 +08:00
fee37fc96f fix: good
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-15 19:36:39 +08:00
1c7aba4333 fix: padding text
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-15 19:32:31 +08:00
aa06fb2c7b fix: no user status
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-15 19:10:53 +08:00
0814512af9 combine
Signed-off-by: Keming <kemingy94@gmail.com>
2025-07-15 17:21:48 +08:00
8aefaccb22 feat: get user stats in the group
Signed-off-by: Keming <kemingy94@gmail.com>
2025-07-15 16:45:46 +08:00
e7700481de fix: 30 days clean message
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-09 20:09:49 +08:00
124b2f0d9b fix: compare timestamp
Signed-off-by: Frost Ming <me@frostming.com>
2025-07-09 12:56:05 +08:00
3cc5a4447c fix: support search with space
Signed-off-by: Frost Ming <me@frostming.com>
2025-07-09 09:53:33 +08:00
5708c1655e fix: black it
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-09 09:34:01 +08:00
0ef6bf0b6a fix: escape charaters
Signed-off-by: Frost Ming <me@frostming.com>
2025-07-09 09:28:42 +08:00
d54ac9ed54 fix: another
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-09 08:52:36 +08:00
2f8635cd91 fix: some break change for markdown
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-09 08:45:02 +08:00
88b634be93 fix: some break change
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-09 08:34:58 +08:00
0b60ae2fbe feat: add summary and search commands (#54)
* feat: add summary and search commands

Signed-off-by: Frost Ming <me@frostming.com>

* fix formats

Signed-off-by: Frost Ming <me@frostming.com>

* fix: clean up

Signed-off-by: Frost Ming <me@frostming.com>
2025-07-08 11:41:57 +08:00
e91862a548 fix: chatgpt fix
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-03-31 19:49:52 +08:00
3b65e61377 fix: update gemini model-s 2024-12-13 19:30:00 +08:00
309d702c08 Update dify.py
refactor module, add stream message support, implement dynamic design without preset API

- Refactored Dify module architecture
- Added support for streaming messages
- Implemented new dynamic design removing need for preset API
2024-09-13 06:49:59 -04:00
a1006f8dff fix: drop code excute
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-08-02 14:36:40 +08:00
d86492e3bc fix: lint
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-08-02 14:23:59 +08:00
9ca9e1b602 fix: timeout 2024-08-02 14:14:40 +08:00
34571633a2 feat: gemini new model
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-08-02 14:13:24 +08:00
27956b5ebe Update tweet.py 2024-07-24 18:39:41 -04:00
5ef3c02f6e feat: FxTwitter handler
- reply with modified tweet link
- edit tweet link only message
    - by bot repeat modified link
    - then delete original user message
2024-07-24 18:27:17 -04:00
5d52e3d8d0 Merge branch 'main' of https://github.com/yihong0618/tg_bot_collections 2024-07-24 09:39:16 +08:00
e09ce59079 fix: use 405b for llama
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-24 09:38:21 +08:00
9e5de5c89f fix: get_page may return none 2024-07-18 00:40:52 -04:00
b9b1a8f93d feat: kling
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-17 19:26:12 +08:00
35c673ff2e Update useful.py 2024-07-15 06:50:22 -04:00
b1e52c7e18 chore: ph/appends run first within threadpool
- Display and submit backgrounded APPENDS first

- Then stream answers run
2024-07-15 06:37:35 -04:00
5f56c2f66e Merge pull request #46 from alterxyz/main
chore: UX
2024-07-15 12:11:41 +08:00
65dc5e974e chore: UX
Gemini stream only, rest append background to telegraph, with update on answer_it message
2024-07-13 09:44:55 -04:00
59a169857c fix: 'NoneType' object has no attribute 'startswith' 2024-07-11 18:13:16 +08:00
f9b6ffac81 fix: Avoid repeating answers
- check `*_USE` flags before using `*_COMPLETE` for CHATGPT, CLAUDE, COHERE, and LLAMA
2024-07-11 11:51:14 +08:00
d0494a9372 fix: remove command prefix from messages 2024-07-11 11:51:10 +08:00
b66c9ac136 fix: update image_to_data_uri to use dynamic content type 2024-07-10 20:37:45 +08:00
474e80db53 answer_it_handler to process image message. support gemini thread 2024-07-10 20:37:45 +08:00
5ea841bdba answer_it_handler to process image message. support claude 2024-07-10 20:37:45 +08:00
5d8e0c9221 Enhance answer_it_handler to process image message. support gpt and gemini 2024-07-10 20:37:45 +08:00
f524af9b36 add image upload function to TelegraphAPI 2024-07-10 20:37:45 +08:00
8f2ae93ea4 Handle replied message in answer_it_handler 2024-07-10 20:37:45 +08:00
4d16429885 fix 2024-07-10 19:17:15 +08:00
1909e95cd6 fix: wrong answer
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-10 19:16:25 +08:00
3f1ca37e53 Add priority attribute to handler, sort and load handler by priority.
- Set a low load priority in handlers/useful.py to ensure it loads last. (ensure
  'latest_handle_messages' registered last to prevent other commands from failing.)
2024-07-09 23:38:40 +08:00
89b619da3b fix: jpgs
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-05 14:38:06 +08:00
6fede9e506 feat: answer_it UX
- feat: skip if message too long (most time from link process)
- feat: modifiable ${Hint} for guide user use "Try /answer_it" in bot message
- feat: return something else if telegra.ph create page fail
- chore: prompt for answer_it

formatting

prompt
2024-07-04 09:21:10 -04:00
97580a8f60 fix gemini convo
- gemini stream direct, other still thread run.
- gemini thread run disabled.
- formatting (black)
2024-07-04 00:20:33 -04:00
1e0eca40f6 feat: fake bot
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-03 21:19:08 +08:00