[Bug]:
Describe the bug
Trying to create a new worklow. Create New session type the task in the window, Select the Arrow button. raceback (most recent call last): File "/home/keransom/anaconda3/envs/autogenstudio/lib/python3.11/site-packages/autogenstudio/web/app.py", line 453, in run_session_workflow agent_response: Message = managers["chat"].chat( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/keransom/anaconda3/envs/autogenstudio/lib/python3.11/site-packages/autogenstudio/chatmanager.py", line 79, in chat result_message: Message = workflow_manager.run(message=f"{message_text}", clear_history=False, history=history) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/keransom/anaconda3/envs/autogenstudio/lib/python3.11/site-packages/autogenstudio/workflowmanager.py", line 575, in run output = self._generate_output(message, self.workflow.get("summary_method", "last")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/keransom/anaconda3/envs/autogenstudio/lib/python3.11/site-packages/autogenstudio/workflowmanager.py", line 552, in _generate_output output = summarize_chat_history( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/keransom/anaconda3/envs/autogenstudio/lib/python3.11/site-packages/autogenstudio/utils/utils.py", line 512, in summarize_chat_history response = client.create(messages=summarization_prompt, cache_seed=None) ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'create'
Steps to reproduce
Trying to create a new worklow. Create New session type the task in the window, Select the Arrow button.
Model Used
gpt4
Expected Behavior
A new workflow should be created
Screenshots and logs
Trying to create a new worklow. Create New session type the task in the window, Select the Arrow button.
Additional Information
No response
怎么重现?
怎么重现?
我暂时也没有复现出来,我自己电脑碰到过一回(就是问题描述里说到的),其它系统用户偶尔会报,一查看基本上都是租户ID变成默认的0了
重新不了就没办法改啊
1、查找了redis里的token没失效,具体是登陆多久后、或触发了什么操作租户才会由1000变成0目前没有测试出来
能给我列一下,在哪些场景(入口)会更新这个X-tenant-id吗,我通过这些入口一个个去找找 这个问题我还是得继续排查,虽然目前不频繁,但随着用户越来越多可能频率会越来越高