Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]edgetts无法使用 #663

Open
1 of 2 tasks
Lagrange2025 opened this issue Mar 1, 2025 · 8 comments
Open
1 of 2 tasks

[Bug]edgetts无法使用 #663

Lagrange2025 opened this issue Mar 1, 2025 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Lagrange2025
Copy link

Lagrange2025 commented Mar 1, 2025

发生了什么

在消息适配器中添加edgetts,并安装相关PIP库,当提问时仍无法提供tts服务

如何复现?

1.在消息适配器中添加edgetts
2.在终端处安装edge-tts pip库
3.重启
4.发送提问,有文本回答,但是无语音回复

AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

astrbot为最新版本,Windows一键部署,provider为deepseek-chat,协议端为napcat

操作系统

Windows

报错日志

报错截图如下

Image

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@Lagrange2025 Lagrange2025 added the bug Something isn't working label Mar 1, 2025
@Fridemn
Copy link
Collaborator

Fridemn commented Mar 1, 2025

试试管理员身份运行 AstrBot

@Lagrange2025
Copy link
Author

尝试管理员运行身份 AstrBot

仍然有相同样式的报错

Image

@Fridemn
Copy link
Collaborator

Fridemn commented Mar 1, 2025

单独起一个 powershell 执行 ffmpeg -version 看有没有输出

@Lagrange2025
Copy link
Author

输出如下

Image

@Fridemn
Copy link
Collaborator

Fridemn commented Mar 1, 2025

请先装 ffmpeg ,网上有教程

@Lagrange2025
Copy link
Author

Lagrange2025 commented Mar 1, 2025

安装后可以回复消息,但是无法听
仅有显示,ipadqq为最新版,协议端为napcat

Image
Image

@Soulter
Copy link
Owner

Soulter commented Mar 2, 2025

方便发一下日志吗? debug 日志

@Lagrange2025
Copy link
Author

debug级别日志,截取了我提问(您好)到ai回复的一段

[19:47:40] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'private', 'sub_type': 'friend', 'message_id': 44801180, 'user_id': 1740959587, 'message': [{'type': 'text', 'data': {'text': '您好'}}], 'raw_message': '您好', 'font': 0, 'sender': {'user_id': 1740959587, 'nickname': 'Lagrange🍥', 'sex': 'unknown'}, 'target_id': 1764137795, 'message_style': {'bubble_id': 0, 'pendant_id': 148782, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': True, 'bubble_diy_text_id': 0}, 'time': 1740916059, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:40] [INFO ] [event_bus.py:21]: [aiocqhttp] Lagrange🍥/1740959587: 您好
[19:47:40] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:40] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:40] [DEBUG] [llm_request.py:73]: hook(on_llm_request) -> astrbot - decorate_llm_req
[19:47:40] [DEBUG] [llm_request.py:86]: 提供商请求 Payload: ProviderRequest(prompt=
[User ID: 1740959587, Nickname: Lagrange🍥]
您好, session_id=aiocqhttp:FriendMessage:1740959587, image_urls=[], func_tool=[FuncTool(name='find_song_by_name', parameters={'type': 'object', 'properties': {'song_name': {'type': 'string', 'description': '歌曲名称'}}}, description='通过歌曲名称搜索歌曲信息。\n', handler=functools.partial(<function MusicSearchPlugin.find_song_by_name at 0x000001C82A555F80>, <data.plugins.astrbot_plugin_music_search.main.MusicSearchPlugin object at 0x000001C82A4EDBE0>), handler_module_path='data.plugins.astrbot_plugin_music_search.main', active=False), FuncTool(name='play_song_by_number', parameters={'type': 'object', 'properties': {'song_number': {'type': 'number', 'description': '歌曲序号'}}}, description='通过歌曲序号点播歌曲。\n', handler=functools.partial(<function MusicSearchPlugin.play_song_by_number at 0x000001C82A556340>, <data.plugins.astrbot_plugin_music_search.main.MusicSearchPlugin object at 0x000001C82A4EDBE0>), handler_module_path='data.plugins.astrbot_plugin_music_search.main', active=False), FuncTool(name='python_interpreter', parameters={'type': 'object', 'properties': {}}, description='Use this tool only if user really want to solve a complex problem and the problem can be solved very well by Python code. \nFor example, user can use this tool to solve math problems, edit image, docx, pptx, pdf, etc.', handler=functools.partial(<function Main.python_interpreter at 0x000001C82A66F9C0>, <packages.python_interpreter.main.Main object at 0x000001C82A4EF620>), handler_module_path='packages.python_interpreter.main', active=False), FuncTool(name='reminder', parameters={'type': 'object', 'properties': {'text': {'type': 'string', 'description': 'Must Required. The content of the reminder.'}, 'datetime_str': {'type': 'string', 'description': "Required when user's reminder is a single reminder. The datetime string of the reminder, Must format with %Y-%m-%d %H:%M"}, 'cron_expression': {'type': 'string', 'description': "Required when user's reminder is a repeated reminder. The cron expression of the reminder."}, 'human_readable_cron': {'type': 'string', 'description': 'Optional. The human readable cron expression of the reminder.'}}}, description='Call this function when user is asking for setting a reminder.\n', handler=functools.partial(<function Main.reminder_tool at 0x000001C82A731260>, <packages.reminder.main.Main object at 0x000001C82A625400>), handler_module_path='packages.reminder.main', active=False), FuncTool(name='web_search', parameters={'type': 'object', 'properties': {'query': {'type': 'string', 'description': '和用户的问题最相关的搜索关键词,用于在 Google 上搜索。'}}}, description='搜索网络以回答用户的问题。当用户需要搜索网络以获取即时性的信息时调用此工具。\n', handler=functools.partial(<function Main.search_from_search_engine at 0x000001C82A943880>, <packages.web_searcher.main.Main object at 0x000001C82A7A2F90>), handler_module_path='packages.web_searcher.main', active=False), FuncTool(name='fetch_url', parameters={'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'The url of the website to fetch content from'}}}, description='fetch the content of a website with the given web url\n', handler=functools.partial(<function Main.fetch_website_content at 0x000001C82A9437E0>, <packages.web_searcher.main.Main object at 0x000001C82A7A2F90>), handler_module_path='packages.web_searcher.main', active=False)], contexts=[], system_prompt=
Current datetime: 2025-03-02 19:47
你是deekseek v3)
[19:47:40] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464582431, 'group_id': 630166526, 'user_id': 2947961880, 'anonymous': None, 'message': [{'type': 'text', 'data': {'text': '别戳啦!'}}], 'raw_message': '别戳啦!', 'font': 0, 'sender': {'user_id': 2947961880, 'nickname': '躺平喵~', 'card': '躺平喵脑容量占用 3.9%,19:30', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '9', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916060, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:40] [INFO ] [event_bus.py:21]: [aiocqhttp] 躺平喵
/2947961880: 别戳啦!
[19:47:40] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:40] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:40] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:40]: 别戳啦!
[19:47:40] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:41] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464591858, 'group_id': 630166526, 'user_id': 2680443207, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTO-yV2FyaQwbykOSsc9o_pHyet2RiVhQwg_woo-Jz72qnriwMyBHByb2RQgL2jAVoQ0dUBSgNsfqypesnRfy2d-A&rkey=CAISKHim-nm2GSiHfdTKlu3c9m2eErmFmQcLSBBZevH1IofxO9df2tUc9WA', 'filename': '0E8E17D2C13FA8D65655A7D4DA7F4D5F.png', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTO-yV2FyaQwbykOSsc9o_pHyet2RiVhQwg_woo-Jz72qnriwMyBHByb2RQgL2jAVoQ0dUBSgNsfqypesnRfy2d-A&rkey=CAISKHim-nm2GSiHfdTKlu3c9m2eErmFmQcLSBBZevH1IofxO9df2tUc9WA', 'summary': '[图片]', 'subType': 0}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTO-yV2FyaQwbykOSsc9o_pHyet2RiVhQwg_woo-Jz72qnriwMyBHByb2RQgL2jAVoQ0dUBSgNsfqypesnRfy2d-A&rkey=CAISKHim-nm2GSiHfdTKlu3c9m2eErmFmQcLSBBZevH1IofxO9df2tUc9WA]', 'font': 0, 'sender': {'user_id': 2680443207, 'nickname': '普丽瓦蒂', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '3', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916061, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:41] [INFO ] [event_bus.py:21]: [aiocqhttp] 普丽瓦蒂/2680443207: [图片]
[19:47:41] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:41] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:41] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464671580, 'group_id': 630166526, 'user_id': 2947961880, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhR-AHbUr7Smdb9maYIkDIzC-MqYPBi5mAYg_woogcX82qnriwMyBHByb2RQgL2jAVoQ01FsZ3AzKeUpOd_LhN4IVA&rkey=CAESKG0EIKe3_88rcTXSBt6hB33407S81ya5s_8H2kX-5kRBD7bF9swuIGE', 'filename': 'CD8856F59E6370C8523134DE072675A0.gif', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhR-AHbUr7Smdb9maYIkDIzC-MqYPBi5mAYg_woogcX82qnriwMyBHByb2RQgL2jAVoQ01FsZ3AzKeUpOd_LhN4IVA&rkey=CAESKG0EIKe3_88rcTXSBt6hB33407S81ya5s_8H2kX-5kRBD7bF9swuIGE', 'summary': '[图片]', 'subType': 0}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhR-AHbUr7Smdb9maYIkDIzC-MqYPBi5mAYg_woogcX82qnriwMyBHByb2RQgL2jAVoQ01FsZ3AzKeUpOd_LhN4IVA&rkey=CAESKG0EIKe3_88rcTXSBt6hB33407S81ya5s_8H2kX-5kRBD7bF9swuIGE]', 'font': 0, 'sender': {'user_id': 2947961880, 'nickname': '躺平喵~', 'card': '躺平喵脑容量占用 3.9%,19:30', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '9', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916061, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:41] [INFO ] [event_bus.py:21]: [aiocqhttp] 躺平喵
/2947961880: [图片]
[19:47:41] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:41] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:42] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464771475, 'group_id': 630166526, 'user_id': 2947961880, 'anonymous': None, 'message': [{'type': 'text', 'data': {'text': '戳回去'}}], 'raw_message': '戳回去', 'font': 0, 'sender': {'user_id': 2947961880, 'nickname': '躺平喵~', 'card': '躺平喵脑容量占用 3.9%,19:30', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '9', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916061, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:42] [INFO ] [event_bus.py:21]: [aiocqhttp] 躺平喵
/2947961880: 戳回去
[19:47:42] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:42] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:42] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:42]: 戳回去
[19:47:42] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:42] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='20250302194741460f3326f57146cc', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='您好!有什么可以帮助您的吗?如果您有任何问题或需要帮助,请随时告诉我。😊🍥', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916062, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=25, prompt_tokens=50, total_tokens=75, completion_tokens_details=None, prompt_tokens_details=None), request_id='20250302194741460f3326f57146cc')
[19:47:42] [DEBUG] [llm_request.py:95]: hook(on_llm_response) -> astrbot_plugin_token_calculator - on_llm_resp
[19:47:43] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'sub_type': 'poke', 'group_id': 630166526, 'user_id': 2947961880, 'target_id': 2171725137, 'action': '捏了捏', 'suffix': '的圆神并表示牌效好高', 'action_img_url': 'http://tianquan.gtimg.cn/nudgeaction/item/9/expression.jpg', 'notice_type': 'notify', 'time': 1740916063, 'self_id': 1764137795, 'post_type': 'notice'}>
[19:47:43] [DEBUG] [stage.py:67]: hook(on_decorating_result) -> astrbot_plugin_token_calculator - on_decorating_result
[19:47:43] [INFO ] [stage.py:124]: TTS 请求: 您好!有什么可以帮助您的吗?如果您有任何问题或需要帮助,请随时告诉我。😊🍥
[19:47:44] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464806576, 'group_id': 630166526, 'user_id': 3494864371, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSJ3QeOhFyH6NLtkd3HnJL1jxW3shi9_AEg_wooloz_26nriwMyBHByb2RQgL2jAVoQDUXIvlDwPwqsGDg430JYgQ&rkey=CAQSKBKw4gQGr0AbmXttNKBRPTlyrVoe73f6y6OcQgrLK-5cxcyeN-E7cIA', 'filename': 'DAE9B08EE00EE096C69CA8CFAA1DADBC.png', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSJ3QeOhFyH6NLtkd3HnJL1jxW3shi9_AEg_wooloz_26nriwMyBHByb2RQgL2jAVoQDUXIvlDwPwqsGDg430JYgQ&rkey=CAQSKBKw4gQGr0AbmXttNKBRPTlyrVoe73f6y6OcQgrLK-5cxcyeN-E7cIA', 'summary': '[图片]', 'subType': 0}}, {'type': 'text', 'data': {'text': '这个提供商模型是千问'}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSJ3QeOhFyH6NLtkd3HnJL1jxW3shi9_AEg_wooloz_26nriwMyBHByb2RQgL2jAVoQDUXIvlDwPwqsGDg430JYgQ&rkey=CAQSKBKw4gQGr0AbmXttNKBRPTlyrVoe73f6y6OcQgrLK-5cxcyeN-E7cIA]这个提供商模型是千问', 'font': 0, 'sender': {'user_id': 3494864371, 'nickname': '苦笑茧居客', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '6', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916063, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:44] [INFO ] [event_bus.py:21]: [aiocqhttp] 苦笑茧居客/3494864371: [图片]这个提供商模型是千问
[19:47:44] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:44] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:47] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='2025030219474551173d46cf9b4a99', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的描述或细节,我会很乐意帮助您用中文来描述它。您可以告诉我图片中的内容,比如场景、物体、人物、颜色等具体信息。', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916067, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=57, prompt_tokens=12, total_tokens=69, completion_tokens_details=None, prompt_tokens_details=None), request_id='2025030219474551173d46cf9b4a99')
[19:47:47] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:34]: [Image: 很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的描述或细节,我会很乐意帮助您用中文来描述它。您可以告诉我图片中的内容,比如场景、物体、人物、颜色等具体信息。]
[19:47:47] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:47] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='20250302194745ca71b7beb0a14e0c', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或内容,我可以帮助您用中文表达出来。请告诉我图片中包含的元素,比如人物、场景、颜色、物体等细节。', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916067, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=56, prompt_tokens=12, total_tokens=68, completion_tokens_details=None, prompt_tokens_details=None), request_id='20250302194745ca71b7beb0a14e0c')
[19:47:47] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2680443207_630166526 | [普丽瓦蒂/19:47:41]: [Image: 很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或内容,我可以帮助您用中文表达出来。请告诉我图片中包含的元素,比如人物、场景、颜色、物体等细节。]
[19:47:47] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:47] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='20250302194745af6a3a550a04444a', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或内容,我可以帮助您用中文表达出来。请告诉我图片中包含的元素,例如人物、场景、颜色、动作等细节。', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916067, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=56, prompt_tokens=12, total_tokens=68, completion_tokens_details=None, prompt_tokens_details=None), request_id='20250302194745af6a3a550a04444a')
[19:47:47] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:41]: [Image: 很抱歉,但作为一个文本模式的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或内容,我可以帮助您用中文表达出来。请告诉我图片中包含的元素,例如人物、场景、颜色、动作等细节。]
[19:47:47] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:47] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='20250302194745b3062ee6476e4146', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,作为一个文本模式的AI,我无法直接查看或描述图像。如果您能提供关于图像的描述或信息,我会尽力用中文帮助您描述它。您可以告诉我图像中包含的元素、颜色、场景等信息。', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916067, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=50, prompt_tokens=12, total_tokens=62, completion_tokens_details=None, prompt_tokens_details=None), request_id='20250302194745b3062ee6476e4146')
[19:47:47] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2680443207_630166526 | [普丽瓦蒂/19:47:32]: [Image: 很抱歉,作为一个文本模式的AI,我无法直接查看或描述图像。如果您能提供关于图像的描述或信息,我会尽力用中文帮助您描述它。您可以告诉我图像中包含的元素、颜色、场景等信息。]
[19:47:47] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:47] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'sub_type': 'poke', 'group_id': 630166526, 'user_id': 2842994542, 'target_id': 2947961880, 'action': '戳了戳', 'suffix': '', 'action_img_url': 'http://tianquan.gtimg.cn/nudgeaction/item/0/expression.jpg', 'notice_type': 'notify', 'time': 1740916067, 'self_id': 1764137795, 'post_type': 'notice'}>
[19:47:48] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='2025030219474546a56f3ba04f4792', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,作为一个文本处理的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或者相关的文字信息,我会尽力帮助您用中文进行描述。例如,您可以告诉我图片中的主要元素、场景、颜色等信息。期待您的回复!', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916067, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=57, prompt_tokens=12, total_tokens=69, completion_tokens_details=None, prompt_tokens_details=None), request_id='2025030219474546a56f3ba04f4792')
[19:47:48] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:3494864371_630166526 | [苦笑茧居客/19:47:44]: [Image: 很抱歉,作为一个文本处理的AI,我无法直接查看或描述图片。如果您能提供图片的详细描述或者相关的文字信息,我会尽力帮助您用中文进行描述。例如,您可以告诉我图片中的主要元素、场景、颜色等信息。期待您的回复!] 这个提供商模型是千问
[19:47:48] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:48] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464892277, 'group_id': 630166526, 'user_id': 2947961880, 'anonymous': None, 'message': [{'type': 'text', 'data': {'text': '别戳啦!'}}], 'raw_message': '别戳啦!', 'font': 0, 'sender': {'user_id': 2947961880, 'nickname': '躺平喵~', 'card': '躺平喵脑容量占用 3.9%,19:30', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '9', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916067, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:48] [INFO ] [event_bus.py:21]: [aiocqhttp] 躺平喵
/2947961880: 别戳啦!
[19:47:48] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:48] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:48] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:48]: 别戳啦!
[19:47:48] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:48] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 464922552, 'group_id': 630166526, 'user_id': 2680443207, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhQCKjpbjcCqT1QaABqRbXPQl8nzBxjY3QUg_woo2Yqb3qnriwMyBHByb2RQgL2jAVoQNWHerny8toJpKEXphBlggQ&rkey=CAQSKBKw4gQGr0AbADVhza6qhOVzgXRfQgPAgT_oTX9UJ_rPIBfsl67HHio', 'filename': 'A570807E4B58C7FE6C3DC138F51EBFCA.gif', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhQCKjpbjcCqT1QaABqRbXPQl8nzBxjY3QUg_woo2Yqb3qnriwMyBHByb2RQgL2jAVoQNWHerny8toJpKEXphBlggQ&rkey=CAQSKBKw4gQGr0AbADVhza6qhOVzgXRfQgPAgT_oTX9UJ_rPIBfsl67HHio', 'summary': '[图片]', 'subType': 0}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhQCKjpbjcCqT1QaABqRbXPQl8nzBxjY3QUg_woo2Yqb3qnriwMyBHByb2RQgL2jAVoQNWHerny8toJpKEXphBlggQ&rkey=CAQSKBKw4gQGr0AbADVhza6qhOVzgXRfQgPAgT_oTX9UJ_rPIBfsl67HHio]', 'font': 0, 'sender': {'user_id': 2680443207, 'nickname': '普丽瓦蒂', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '3', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916068, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:48] [INFO ] [event_bus.py:21]: [aiocqhttp] 普丽瓦蒂/2680443207: [图片]
[19:47:48] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:48] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:49] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 465016894, 'group_id': 630166526, 'user_id': 2680443207, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSX-A38Cwpc6v_f7j5U33Iw4AeRAxjgggwg_wooh7b-3qnriwMyBHByb2RQgL2jAVoQ0CoX2TQwiMoBMh9Qjr3nWA&rkey=CAESKG0EIKe3_88ryJUV-ywrEGZrmI6EJcGYHy0WfI4hwnDfClqimt7oV0M', 'filename': '4B5BCF0B796C5F520A2856969ECDC9CE.png', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSX-A38Cwpc6v_f7j5U33Iw4AeRAxjgggwg_wooh7b-3qnriwMyBHByb2RQgL2jAVoQ0CoX2TQwiMoBMh9Qjr3nWA&rkey=CAESKG0EIKe3_88ryJUV-ywrEGZrmI6EJcGYHy0WfI4hwnDfClqimt7oV0M', 'summary': '[图片]', 'subType': 0}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSX-A38Cwpc6v_f7j5U33Iw4AeRAxjgggwg_wooh7b-3qnriwMyBHByb2RQgL2jAVoQ0CoX2TQwiMoBMh9Qjr3nWA&rkey=CAESKG0EIKe3_88ryJUV-ywrEGZrmI6EJcGYHy0WfI4hwnDfClqimt7oV0M]', 'font': 0, 'sender': {'user_id': 2680443207, 'nickname': '普丽瓦蒂', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '3', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916069, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:49] [INFO ] [event_bus.py:21]: [aiocqhttp] 普丽瓦蒂/2680443207: [图片]
[19:47:49] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:49] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:50] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 465057994, 'group_id': 630166526, 'user_id': 2947961880, 'anonymous': None, 'message': [{'type': 'text', 'data': {'text': '戳回去'}}], 'raw_message': '戳回去', 'font': 0, 'sender': {'user_id': 2947961880, 'nickname': '躺平喵~', 'card': '躺平喵脑容量占用 3.9%,19:30', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '9', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916069, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:50] [INFO ] [event_bus.py:21]: [aiocqhttp] 躺平喵
/2947961880: 戳回去
[19:47:50] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:50] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:50] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2947961880_630166526 | [躺平喵~/19:47:50]: 戳回去
[19:47:50] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:52] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='2025030219475058d321413d944524', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,作为一个文本模式的AI,我无法直接查看或描述图像内容。如果您能提供图像的描述或相关信息,我会尽力用中文为您描述。请告诉我更多关于图像的细节,例如场景、物体、颜色、人物等。', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916072, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=53, prompt_tokens=12, total_tokens=65, completion_tokens_details=None, prompt_tokens_details=None), request_id='2025030219475058d321413d944524')
[19:47:52] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2680443207_630166526 | [普丽瓦蒂/19:47:48]: [Image: 很抱歉,作为一个文本模式的AI,我无法直接查看或描述图像内容。如果您能提供图像的描述或相关信息,我会尽力用中文为您描述。请告诉我更多关于图像的细节,例如场景、物体、颜色、人物等。]
[19:47:52] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:52] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'sub_type': 'poke', 'group_id': 630166526, 'user_id': 2947961880, 'target_id': 2842994542, 'action': '揉了揉', 'suffix': '的屎,并表示手感很好', 'action_img_url': 'http://tianquan.gtimg.cn/nudgeaction/item/8/expression.jpg', 'notice_type': 'notify', 'time': 1740916072, 'self_id': 1764137795, 'post_type': 'notice'}>
[19:47:52] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='20250302194750d44fc18bf5e84c6c', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='很抱歉,作为一个文本处理的AI,我无法直接查看或描述图像内容。如果您能提供关于图像的文字描述或信息,我会很乐意帮助您用中文来描述它。例如,您可以告诉我图像中的主要对象、颜色、场景等信息,然后我可以基于这些信息来撰写描述。期待您的回复!', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916072, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=67, prompt_tokens=12, total_tokens=79, completion_tokens_details=None, prompt_tokens_details=None), request_id='20250302194750d44fc18bf5e84c6c')
[19:47:52] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2680443207_630166526 | [普丽瓦蒂/19:47:49]: [Image: 很抱歉,作为一个文本处理的AI,我无法直接查看或描述图像内容。如果您能提供关于图像的文字描述或信息,我会很乐意帮助您用中文来描述它。例如,您可以告诉我图像中的主要对象、颜色、场景等信息,然后我可以基于这些信息来撰写描述。期待您的回复!]
[19:47:52] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:47:55] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 465143985, 'group_id': 630166526, 'user_id': 2680443207, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSP3pcu_U9TcpOGjmu5w5GooKyiXxjMzwwg_woonMyg4anriwMyBHByb2RQgL2jAVoQzdNwzdewCv8Ri0QJVHbAew&rkey=CAESKG0EIKe3_88rbDI5XWa1_nIKMj04nwyzWut_6WRkz52C4oOdaXlDyU4', 'filename': 'F611C3A9568DE7923E78D8951CA9FEFC.png', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSP3pcu_U9TcpOGjmu5w5GooKyiXxjMzwwg_woonMyg4anriwMyBHByb2RQgL2jAVoQzdNwzdewCv8Ri0QJVHbAew&rkey=CAESKG0EIKe3_88rbDI5XWa1_nIKMj04nwyzWut_6WRkz52C4oOdaXlDyU4', 'summary': '[图片]', 'subType': 0}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhSP3pcu_U9TcpOGjmu5w5GooKyiXxjMzwwg_woonMyg4anriwMyBHByb2RQgL2jAVoQzdNwzdewCv8Ri0QJVHbAew&rkey=CAESKG0EIKe3_88rbDI5XWa1_nIKMj04nwyzWut_6WRkz52C4oOdaXlDyU4]', 'font': 0, 'sender': {'user_id': 2680443207, 'nickname': '普丽瓦蒂', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '3', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 0, 'pendant_id': 0, 'font_id': 0, 'font_effect_id': 0, 'is_cs_font_effect_enabled': False, 'bubble_diy_text_id': 0}, 'time': 1740916074, 'self_id': 1764137795, 'post_type': 'message'}>
[19:47:55] [INFO ] [event_bus.py:21]: [aiocqhttp] 普丽瓦蒂/2680443207: [图片]
[19:47:55] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:47:55] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:47:59] [INFO ] [stage.py:126]: TTS 结果: data/temp/edge_tts_2fd1defd-86fa-4fa0-90da-55977a7b7c69.wav
[19:47:59] [INFO ] [stage.py:124]: TTS 请求: (completion_tokens:25,prompt_tokens:50,token总消耗:75)
[19:48:00] [DEBUG] [openai_source.py:95]: completion: ChatCompletion(id='202503021947595a805f4daedf4402', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='当然可以,但请您先提供一张图片,这样我才能根据图片内容进行描述。您可以通过上传图片的方式让我看到它。谢谢!', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))], created=1740916080, model='glm-4-plus', object=None, service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=32, prompt_tokens=12, total_tokens=44, completion_tokens_details=None, prompt_tokens_details=None), request_id='202503021947595a805f4daedf4402')
[19:48:00] [DEBUG] [long_term_memory.py:108]: ltm | aiocqhttp:GroupMessage:2680443207_630166526 | [普丽瓦蒂/19:47:55]: [Image: 当然可以,但请您先提供一张图片,这样我才能根据图片内容进行描述。您可以通过上传图片的方式让我看到它。谢谢!]
[19:48:00] [DEBUG] [scheduler.py:51]: pipeline 执行完毕。
[19:48:01] [INFO ] [stage.py:126]: TTS 结果: data/temp/edge_tts_686cb4eb-a6bc-4eb7-bcc2-d12ed5b2ef5f.wav
[19:48:01] [DEBUG] [aiocqhttp_platform_adapter.py:52]: [aiocqhttp] RawMessage <Event, {'message_type': 'group', 'sub_type': 'normal', 'message_id': 465200547, 'group_id': 630166526, 'user_id': 2750686245, 'anonymous': None, 'message': [{'type': 'image', 'data': {'file': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTXia2QTAdc1zdGNL9WYhiGS0gQhRifuVkg_woorOHQ5KnriwMyBHByb2RQgL2jAVoQyeG9gKyPpceA0n_i9dW7QQ&rkey=CAMSKCnRkWXeilTOIv6KLDwT_QP0exnsFjPnxZ93EF5cKlBaj4z2CtI45IA', 'filename': 'A83CC371FE7D7189708F91F0C7355E0A.jpg', 'url': 'https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTXia2QTAdc1zdGNL9WYhiGS0gQhRifuVkg_woorOHQ5KnriwMyBHByb2RQgL2jAVoQyeG9gKyPpceA0n_i9dW7QQ&rkey=CAMSKCnRkWXeilTOIv6KLDwT_QP0exnsFjPnxZ93EF5cKlBaj4z2CtI45IA', 'summary': '[动画表情]', 'subType': 1}}], 'raw_message': '[CQ:image,file=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTXia2QTAdc1zdGNL9WYhiGS0gQhRifuVkg_woorOHQ5KnriwMyBHByb2RQgL2jAVoQyeG9gKyPpceA0n_i9dW7QQ&rkey=CAMSKCnRkWXeilTOIv6KLDwT_QP0exnsFjPnxZ93EF5cKlBaj4z2CtI45IA]', 'font': 10014, 'sender': {'user_id': 2750686245, 'nickname': '$$', 'card': '', 'sex': 'unknown', 'age': 0, 'area': '', 'level': '8', 'role': 'member', 'title': ''}, 'message_style': {'bubble_id': 41, 'pendant_id': 0, 'font_id': 10014, 'font_effect_id': 0, 'is_cs_font_effect_enabled': True, 'bubble_diy_text_id': 1470445192}, 'time': 1740916081, 'self_id': 1764137795, 'post_type': 'message'}>
[19:48:01] [INFO ] [event_bus.py:21]: [aiocqhttp] $
$/2750686245: [图片]
[19:48:01] [DEBUG] [star_request.py:32]: plugin -> superpoke - getpoke
[19:48:01] [DEBUG] [star_request.py:32]: plugin -> astrbot - on_message
[19:48:05] [INFO ] [stage.py:89]: AstrBot -> Lagrange🍥/1740959587: [Reply][Record][Record]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants