mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-07-08 07:56:43 +08:00
fix: update image_to_data_uri to use dynamic content type
This commit is contained in:
@ -389,7 +389,7 @@ def answer_it_handler(message: Message, bot: TeleBot) -> None:
|
||||
#### Complete Messages ####
|
||||
if CHATGPT_COMPLETE and CHATGPT_API_KEY:
|
||||
full_answer += complete_chatgpt_future.result()
|
||||
if CLADUE_COMPLETE and ANTHROPIC_API_KEY and not local_image_path:
|
||||
if CLADUE_COMPLETE and ANTHROPIC_API_KEY:
|
||||
full_answer += complete_claude_future.result()
|
||||
if COHERE_COMPLETE and COHERE_API_KEY and not local_image_path:
|
||||
full_answer += complete_cohere_future.result()
|
||||
|
Reference in New Issue
Block a user