+ fixes
This commit is contained in:
@@ -375,7 +375,10 @@ async def handle_text(message: Message, gemini: GoogleAdapter, state: FSMContext
|
||||
async def gen_start_text(message: Message, gemini: GoogleAdapter, state: FSMContext, dao: DAO, bot: Bot,
|
||||
char_id: str = None) -> str:
|
||||
await bot.send_chat_action(message.chat.id, "typing")
|
||||
prompt = message.text
|
||||
prompt = ("Use a TELEGRAM HTML formatting. If you write a prompt use <pre> tag.\n\n"
|
||||
"PROMPT:\n\n",
|
||||
message.text,
|
||||
'\n\n')
|
||||
if char_id:
|
||||
char = await dao.chars.get_character(message.chat.id)
|
||||
prompt += char.character_bio
|
||||
|
||||
Reference in New Issue
Block a user