yihong0618
5d52e3d8d0
Merge branch 'main' of https://github.com/yihong0618/tg_bot_collections
2024-07-24 09:39:16 +08:00
yihong0618
e09ce59079
fix: use 405b for llama
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-24 09:38:21 +08:00
yihong
6e8740754c
Merge pull request #49 from alterxyz/main
...
fix: get_page may return none
2024-07-19 10:33:23 +08:00
Alter-xyz
9e5de5c89f
fix: get_page may return none
2024-07-18 00:40:52 -04:00
yihong0618
0970dedb91
doc: kling
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-17 19:27:46 +08:00
yihong0618
b9b1a8f93d
feat: kling
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-17 19:26:12 +08:00
yihong
481f9d56bf
Merge pull request #48 from alterxyz/main
...
chore: ph/appends run first within threadpool
2024-07-15 22:36:17 +08:00
Alter-xyz
35c673ff2e
Update useful.py
2024-07-15 06:50:22 -04:00
Alter-xyz
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
yihong
5f56c2f66e
Merge pull request #46 from alterxyz/main
...
chore: UX
2024-07-15 12:11:41 +08:00
yihong
059db58c5c
Merge pull request #45 from F4ria/answer-reply
...
Enhance answer_it_handler to process image and replied messages
2024-07-15 12:11:31 +08:00
Alter-xyz
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
F4ria
59a169857c
fix: 'NoneType' object has no attribute 'startswith'
2024-07-11 18:13:16 +08:00
F4ria
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
F4ria
d0494a9372
fix: remove command prefix from messages
2024-07-11 11:51:10 +08:00
F4ria
b66c9ac136
fix: update image_to_data_uri to use dynamic content type
2024-07-10 20:37:45 +08:00
F4ria
474e80db53
answer_it_handler to process image message. support gemini thread
2024-07-10 20:37:45 +08:00
F4ria
5ea841bdba
answer_it_handler to process image message. support claude
2024-07-10 20:37:45 +08:00
F4ria
5d8e0c9221
Enhance answer_it_handler to process image message. support gpt and gemini
2024-07-10 20:37:45 +08:00
F4ria
f524af9b36
add image upload function to TelegraphAPI
2024-07-10 20:37:45 +08:00
F4ria
8f2ae93ea4
Handle replied message in answer_it_handler
2024-07-10 20:37:45 +08:00
yihong0618
4d16429885
fix
2024-07-10 19:17:15 +08:00
yihong0618
1909e95cd6
fix: wrong answer
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-10 19:16:25 +08:00
yihong
23ad429cd2
Merge pull request #44 from F4ria/load_priority
2024-07-10 07:28:24 +08:00
F4ria
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
yihong0618
89b619da3b
fix: jpgs
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-05 14:38:06 +08:00
yihong
7c9ffb2287
Merge pull request #43 from alterxyz/main
...
Fix answer_it gemini convo
2024-07-05 14:33:38 +08:00
Alter-xyz
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
Alter-xyz
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
yihong0618
1e0eca40f6
feat: fake bot
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-07-03 21:19:08 +08:00
yihong
f979888afc
Merge pull request #40 from alterxyz/main
...
Fix answer_it
2024-07-03 20:36:20 +08:00
yihong
7b4ab94a3e
Merge pull request #41 from xingty/fix-telegraph
...
Fixed issue with <a> tags not working in Telegraph.
2024-07-03 20:36:02 +08:00
bigbyto
8a61b9d40b
fix: telegraph
2024-07-03 13:30:24 +08:00
Alter-xyz
8b55a1442c
Fix answer_it
...
Fix stream message overtime
Fix gemini history.clear while stream
Feat: Complete mode (non stream)
Chore: preset some settings
2024-07-02 08:27:21 -04:00
yihong
4d0b9ee799
Merge pull request #39 from alterxyz/main
...
Answer_it refine
2024-07-02 14:41:49 +08:00
Alter-xyz
15404d91a3
feat: skip update duplicate message
2024-06-29 08:58:49 -04:00
Alter-xyz
4755a4cedd
feat: Web Preview (Instant View) switch for cleaner look
2024-06-29 03:10:08 -04:00
Alter-xyz
bde2fd061b
feat: answer_it screenless llm to ph page
2024-06-29 01:49:14 -04:00
Alter-xyz
d1d84aa0e3
refactor
...
- refactor: Modulated
- chore: Switch on the top as "Customization"
- chore: Prompt for tasks
- feat: Support more LLM as optional
- feat: Summarization for final answer
- feat: Asynchronous/Thread for faster speed
2024-06-28 11:46:06 -04:00
Alter-xyz
f2b73750a8
fix: update same message
2024-06-28 05:29:09 -04:00
Alter-xyz
5fb3fc49d0
fix: cohere long answer and garbled code
2024-06-28 05:28:44 -04:00
yihong0618
4cf8c8f8d9
fix: threadthings
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-28 16:13:17 +08:00
yihong0618
6be33a9bc0
fix: better answer it
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-28 15:41:16 +08:00
yihong
4b1e1a2683
Merge pull request #37 from alterxyz/main
...
feat: Cohere Telegraph
2024-06-25 19:22:27 +08:00
yihong0618
907b9d4fde
fix: add to delete
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-25 19:22:09 +08:00
Alter-xyz
9c8638279e
feat: Default skip telegraph account
...
It will print out the token in local terminal by default.
If Store_Token = True, it will store token in "token_key.json"
View my lite ver and try at <https://github.com/alterxyz/tg_bot_collections_lite >
2024-06-24 21:26:44 -04:00
Alter-xyz
e2ffd7fa57
feat: create telegraph account
...
- feat: create and store the telegraph token locally
- check and use if there exist token in json
- feat: auto generate telegraph token for cohere.py and answer_it
- fix: optional delete other answer_it message and only leave a telegraph link messsage for clean view
Co-Authored-By: yihong <zouzou0208@gmail.com>
2024-06-23 09:14:19 -04:00
Alter-xyz
bfad22ffaf
chore: black format
2024-06-23 02:43:02 -04:00
Alter-xyz
d104201b00
fix: Long message handle and decorate waiting message
2024-06-23 02:20:53 -04:00
Alter-xyz
3913c5e7a8
chore: update
2024-06-22 07:40:42 -04:00