We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2e5d2 commit 5cb485cCopy full SHA for 5cb485c
1 file changed
apps/application/flow/tools.py
@@ -766,9 +766,9 @@ def mcp_response_generator(
766
loop = get_global_loop() # 使用共享循环
767
# 创建临时文件夹
768
if chat_id:
769
- temp_dir = os.path.join("/tmp", chat_id[:8])
+ temp_dir = os.path.join("/tmp", chat_id)
770
else:
771
- temp_dir = os.path.join("/tmp", uuid.uuid7().hex[:8])
+ temp_dir = os.path.join("/tmp", str(uuid.uuid7()))
772
skills_dir = os.path.join(temp_dir, "skills")
773
os.makedirs(skills_dir, exist_ok=True)
774
0 commit comments