Skip to content

现象 :一直报错 大脑出问题,请开发者修复,且没有爱丽的 声音,日志如下 #120

Open
@tomridder

Description

@tomridder

chatbot | [INFO][2025-01-27 07:52:34,700][local_storage_impl.py:17] => Load LocalStorage Success
chatbot | Traceback (most recent call last):
chatbot | File "/app/apps/chatbot/process/process.py", line 53, in chat
chatbot | short_history = singleton_sys_config.memory_storage_driver.search_short_memory(
chatbot | AttributeError: 'SysConfig' object has no attribute 'memory_storage_driver'
chatbot | [ERROR][2025-01-27 07:52:38,730][process.py:74] chat error: 'SysConfig' object has no attribute 'memory_storage_driver'
chatbot | 07:52:38 - LiteLLM:INFO: utils.py:1018 -
chatbot |
chatbot | POST Request Sent from LiteLLM:
chatbot | curl -X POST
chatbot | https://api.tomchat.fun/v1/
chatbot | -d '{'model': 'gpt-3.5-turbo', 'messages': [{'content': '\n [INST] <>\n You are now an emotion expression AI, this is my text, please speculate on the emotion the text wants to express,\n The rules for expressing emotions are as follows: There are five types of feelings that express normal "neutral", "happy" that expresses happiness, "angry" that expresses anger, "sad" that expresses sadness, and "relaxed" that expresses calm. Your result can only be one of these five\n \n Please output the result in all lowercase letters.\n Please only output the result, no need to output the reasoning process.\n Please use the output of your reasoning emotion.\n Please output the result strictly in JSON format. The output example is as follows:\n {"emote":"your reasoning emotions"}\n <>\n text:我的大脑出现了问题,请通知开发者修复我', 'role': 'user'}], 'temperature': 0.7, 'extra_body': {}}'
chatbot |
chatbot |
chatbot | [INFO][2025-01-27 07:52:38,750][utils.py:1018]
chatbot |
chatbot | POST Request Sent from LiteLLM:
chatbot | curl -X POST
chatbot | https://api.tomchat.fun/v1/
chatbot | -d '{'model': 'gpt-3.5-turbo', 'messages': [{'content': '\n [INST] <>\n You are now an emotion expression AI, this is my text, please speculate on the emotion the text wants to express,\n The rules for expressing emotions are as follows: There are five types of feelings that express normal "neutral", "happy" that expresses happiness, "angry" that expresses anger, "sad" that expresses sadness, and "relaxed" that expresses calm. Your result can only be one of these five\n \n Please output the result in all lowercase letters.\n Please only output the result, no need to output the reasoning process.\n Please use the output of your reasoning emotion.\n Please output the result strictly in JSON format. The output example is as follows:\n {"emote":"your reasoning emotions"}\n <>\n text:我的大脑出现了问题,请通知开发者修复我', 'role': 'user'}], 'temperature': 0.7, 'extra_body': {}}'
chatbot |
chatbot |
chatbot | [INFO][2025-01-27 07:52:39,778][_client.py:1013] HTTP Request: POST https://api.tomchat.fun/v1/chat/completions "HTTP/1.1 200 OK"
chatbot | 07:52:39 - LiteLLM:INFO: utils.py:2729 - Wrapper: Completed Call, calling success_handler
chatbot | [INFO][2025-01-27 07:52:39,779][utils.py:2729] Wrapper: Completed Call, calling success_handler
chatbot | [INFO][2025-01-27 07:52:39,782][consumers.py:35] => run chat_message :{'type': 'user', 'user_name': 'yuki129', 'content': '我的大脑出现了问题,请通知开发者修复我', 'emote': 'sad', 'action': None, 'expand': None}
chatbot | HTTP POST /chatbot/chat 200 [1.06, 172.18.0.4:41598]
chatbot | [INFO][2025-01-27 07:52:39,784][runserver.py:168] HTTP POST /chatbot/chat 200 [1.06, 172.18.0.4:41598]
chatbot | Traceback (most recent call last):
chatbot | File "/usr/local/bin/edge-tts", line 8, in
chatbot | sys.exit(main())
chatbot | File "/usr/local/lib/python3.10/site-packages/edge_tts/util.py", line 137, in main
chatbot | loop.run_until_complete(amain())
chatbot | File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
chatbot | return future.result()
chatbot | File "/usr/local/lib/python3.10/site-packages/edge_tts/util.py", line 130, in amain
chatbot | await _run_tts(args)
chatbot | File "/usr/local/lib/python3.10/site-packages/edge_tts/util.py", line 65, in _run_tts
chatbot | async for chunk in tts.stream():
chatbot | File "/usr/local/lib/python3.10/site-packages/edge_tts/communicate.py", line 309, in stream
chatbot | async with aiohttp.ClientSession(
chatbot | File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1167, in aenter
chatbot | self._resp = await self._coro
chatbot | File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 821, in _ws_connect
chatbot | raise WSServerHandshakeError(
chatbot | aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=52798d630b0047dcb6e6eb3a64f9c874')
chatbot | [INFO][2025-01-27 07:52:40,811][tts_driver.py:60] TTS synthesis # type:Edge text:我的大脑出现了问题,请通知开发者修复我 => file_name: 560672a94bf74b41b416c6e8cf9843a0.mp3 #
chatbot | HTTP POST /speech/tts/generate 200 [1.02, 172.18.0.4:41612]
chatbot | [INFO][2025-01-27 07:52:40,813][runserver.py:168] HTTP POST /speech/tts/generate 200 [1.02, 172.18.0.4:41612]

===============================================================

日志在上面

现象 :一直报错 大脑出问题,请开发者修复,且没有爱丽的 声音,日志如下
大佬修复下

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions