135 Commits

Author SHA1 Message Date
yihong0618
870a1db1fc fix: gpt token 2024-05-18 10:05:36 +08:00
yihong0618
323adb9953 fix: support gp4o
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-14 09:30:51 +08:00
yihong0618
77fefcb4b5 feat: yi large and md
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-13 14:03:04 +08:00
yihong0618
55fd800eb1 feat: qwen 110B
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-08 18:15:39 +08:00
yihong
77ead6119c
Merge pull request #31 from F4ria/use-del-remove-player-history-for-gemini
use 'del' to remove the player's history for gemini
2024-04-25 17:44:22 +08:00
F4ria
f9e740300e use 'del' to remove the player's history for gemini 2024-04-23 11:45:19 +08:00
yihong0618
da8e0b809d fix: sleep time min for llama
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-19 16:54:14 +08:00
yihong0618
450c08ba54 feat: llama3 bot
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-19 16:22:43 +08:00
yihong0618
cd2185c7d6 fix: change gpt4 model and claude latest
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-18 11:12:41 +08:00
yihong0618
385df6c821 feat: sd3 api
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-18 11:01:37 +08:00
yihong
c8725e27a1
Merge pull request #30 from F4ria/chatgpt
feat: support ChatGPT
2024-04-18 09:26:31 +08:00
F4ria
0bfce8b3c0 README: update the ChatGPT instructions 2024-04-17 14:21:51 +08:00
F4ria
a48187e98c increase max_tokens from 1024 to 2048 in chatgpt_photo_handler 2024-04-17 14:10:22 +08:00
F4ria
2abcc90a32 reduce code duplication and reuse image_to_data_uri 2024-04-17 14:03:26 +08:00
F4ria
19bb441533 url reader for chatgpt 2024-04-16 14:15:12 +08:00
F4ria
a0e65d8bd9 start a new chat if the message starts with 'new ' 2024-04-16 14:12:44 +08:00
F4ria
2248d649fc simplify chatgpt handler functions 2024-04-16 14:12:44 +08:00
F4ria
394dc8df99 feat: chatgpt photo stream 2024-04-16 14:12:44 +08:00
F4ria
16735551c0 feat: support chatgpt 2024-04-16 14:12:44 +08:00
yihong0618
03b7c143a3 fix: comments
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-16 12:08:26 +08:00
yihong0618
091597069d fix: change yi base model
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-16 12:08:02 +08:00
yihong
f1515791ea
Merge pull request #29 from F4ria/url-reader
support Claude and Yi handlers to extract and enrich text with URLs
2024-04-16 11:43:13 +08:00
F4ria
f804005f5e support Claude and Yi handlers to extract and enrich text with URLs 2024-04-15 23:49:56 +08:00
yihong0618
bf885ef471 feat: support url read
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-15 20:58:51 +08:00
yihong
d75a0dd89e
Merge pull request #28 from F4ria/new-chat
feat: if the message starts with "new ", start a new chat directly
2024-04-15 18:42:13 +08:00
F4ria
53b66499ee feat: if the message starts with "new ", clear the player's history and start a new chat 2024-04-15 18:23:15 +08:00
yihong
ec3b42d620
Merge pull request #27 from F4ria/reuse-bot-reply-markdown
Reuse bot_reply_markdown when streaming output
2024-04-12 09:14:14 +08:00
F4ria
851af94994 correct the parameter passed to bot_reply_first in yi_handler 2024-04-11 20:36:21 +08:00
F4ria
82972d1cbd support streaming response for claude_photo_handler/gemini_photo_handler 2024-04-11 17:11:22 +08:00
F4ria
fdc9d00eb0 add a new optional argument split_text to the bot_reply_markdown function.
- The default is True, it is set to False when streaming output.
2024-04-11 16:47:16 +08:00
yihong0618
ad90fadc74 fix: error name typo
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-10 19:33:52 +08:00
yihong0618
c87d7f99ea feat: support gemini pro
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-10 09:07:28 +08:00
yihong0618
e65ee0d6e9 fix: some bug
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-02 21:41:17 +08:00
yihong0618
d5d52b736b fix: typo for yi
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-02 21:26:46 +08:00
yihong
529a5de0ff
Merge pull request #26 from linuxyz/main
Make bot react more actively
2024-04-02 21:23:31 +08:00
yihong
1219d58478
Merge pull request #24 from jinwyp/dev2
fix: update setup for Claude
2024-04-02 21:22:30 +08:00
Y1.Zhao
14b075491e use black to format the code 2024-03-29 11:57:33 -04:00
Yi Zhao
4a40cf7695 hack the Gemini markdown formst 2 2024-03-29 23:42:54 +08:00
Yi Zhao
da079d795d hack the Gemini markdown formst 2024-03-29 23:36:01 +08:00
Yi Zhao
ffccd1d116 Update the full-angle character 2024-03-29 23:33:41 +08:00
Yi Zhao
f68f19e359 Update the MarketdownV2 message 2024-03-29 23:28:39 +08:00
Yi Zhao
790bd55517 Correct typo 2024-03-29 23:24:44 +08:00
Yi Zhao
35d6368779 enlarge context to 8K 2024-03-29 23:09:28 +08:00
Yi Zhao
98909312f2 Update the MarkdownV2 message 2024-03-29 23:01:34 +08:00
Yi Zhao
27444d6fa1 reply immediately and make users feel bots little resposible 2024-03-29 22:45:58 +08:00
yihong
943ab4001a
Merge pull request #25 from F4ria/correct-model-claude-handler
Correct the model in claude handler
2024-03-27 17:46:25 +08:00
F4ria
0d6ded25ff chore: correct the model name in claude_handler 2024-03-27 17:35:02 +08:00
JinWYP
36a88b9832 fix: update setup for Claude
Add Claude 3 and lingyiwanwu for setup.sh
2024-03-24 01:20:24 +08:00
yihong
6a13eb1758
Merge pull request #22 from zhangmooran/main
typo fixed: you -> your in line 41
2024-03-20 20:39:07 +08:00
ori
2604d4ef59 typo fixed:you->your in line 41 2024-03-20 20:08:27 +08:00