13 Commits

Author SHA1 Message Date
F4ria
f804005f5e support Claude and Yi handlers to extract and enrich text with URLs 2024-04-15 23:49:56 +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
F4ria
851af94994 correct the parameter passed to bot_reply_first in yi_handler 2024-04-11 20:36:21 +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
d5d52b736b fix: typo for yi
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-02 21:26:46 +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
ori
2604d4ef59 typo fixed:you->your in line 41 2024-03-20 20:08:27 +08:00
Y1.Zhao
13090b6a42 Split to multiple reply if text length is more than 4000 bytes 2024-03-19 04:20:22 -04:00
yihong0618
68ab644e4a feat: claude opus
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-03-18 15:09:36 +08:00
yihong0618
2952b81521 fix: make gemini safe to None
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-03-17 18:30:55 +08:00
yihong0618
9e5d5db767 feat: support yi
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-03-17 14:55:39 +08:00