18 Commits

Author SHA1 Message Date
yihong0618
77fefcb4b5 feat: yi large and md
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-13 14:03:04 +08:00
yihong0618
450c08ba54 feat: llama3 bot
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-19 16:22:43 +08:00
F4ria
2abcc90a32 reduce code duplication and reuse image_to_data_uri 2024-04-17 14:03:26 +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
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