Please input your question
User:
你好
1
Bot:
[ERROR][2023-05-14 13:20:05][log.py:47] - [MultiChannel] Start up failed on terminal: string indices must be integers
[ERROR][2023-05-14 13:20:05][log.py:45] - App startup failed!
[ERROR][2023-05-14 13:20:05][log.py:50] - string indices must be integers
Traceback (most recent call last):
File "G:\py\chatgpt\bot-on-anything\app.py", line 42, in main
start_process(channel_type[0], args.config)
File "G:\py\chatgpt\bot-on-anything\app.py", line 23, in start_process
raise e
File "G:\py\chatgpt\bot-on-anything\app.py", line 20, in start_process
channel.startup()
File "G:\py\chatgpt\bot-on-anything\channel\terminal\terminal_channel.py", line 21, in startup
for res in super().build_reply_content(prompt, context):
File "G:\py\chatgpt\bot-on-anything\channel\channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "G:\py\chatgpt\bot-on-anything\bridge\bridge.py", line 18, in fetch_reply_content
return model_factory.create_bot(type).reply(query, context)
File "G:\py\chatgpt\bot-on-anything\model\bing\new_bing_model.py", line 95, in reply
answer = asyncio.run(task)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "G:\py\chatgpt\bot-on-anything\model\bing\jailbroken_sydney.py", line 110, in ask
self.update_reply_cache(response["item"]["messages"][-1])
TypeError: string indices must be integers
Please input your question User: 你好 1 Bot: [ERROR][2023-05-14 13:20:05][log.py:47] - [MultiChannel] Start up failed on terminal: string indices must be integers [ERROR][2023-05-14 13:20:05][log.py:45] - App startup failed! [ERROR][2023-05-14 13:20:05][log.py:50] - string indices must be integers Traceback (most recent call last): File "G:\py\chatgpt\bot-on-anything\app.py", line 42, in main start_process(channel_type[0], args.config) File "G:\py\chatgpt\bot-on-anything\app.py", line 23, in start_process raise e File "G:\py\chatgpt\bot-on-anything\app.py", line 20, in start_process channel.startup() File "G:\py\chatgpt\bot-on-anything\channel\terminal\terminal_channel.py", line 21, in startup for res in super().build_reply_content(prompt, context): File "G:\py\chatgpt\bot-on-anything\channel\channel.py", line 31, in build_reply_content return Bridge().fetch_reply_content(query, context) File "G:\py\chatgpt\bot-on-anything\bridge\bridge.py", line 18, in fetch_reply_content return model_factory.create_bot(type).reply(query, context) File "G:\py\chatgpt\bot-on-anything\model\bing\new_bing_model.py", line 95, in reply answer = asyncio.run(task) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete return future.result() File "G:\py\chatgpt\bot-on-anything\model\bing\jailbroken_sydney.py", line 110, in ask self.update_reply_cache(response["item"]["messages"][-1]) TypeError: string indices must be integers