mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
fix: delete useless image function in slack
This commit is contained in:
@@ -215,10 +215,6 @@ async def extract_b64_and_format(image_base64_data: str) -> typing.Tuple[str, st
|
||||
return base64_str, image_format
|
||||
|
||||
|
||||
async def get_slack_image_to_base64(pic_url:str,bot_token:str):
|
||||
"""
|
||||
将Slack图片转换为base64
|
||||
"""
|
||||
|
||||
async def get_slack_image_to_base64(pic_url:str, bot_token:str):
|
||||
headers = {"Authorization": f"Bearer {bot_token}"}
|
||||
|
||||
Reference in New Issue
Block a user