fix: update image_to_data_uri to use dynamic content type

This commit is contained in:
F4ria
2024-07-10 20:24:16 +08:00
parent 474e80db53
commit b66c9ac136
2 changed files with 3 additions and 2 deletions

View File

@ -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()