Skip to content

Commit

Permalink
mindmap update sysmsg
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesun committed Nov 23, 2023
1 parent ba05468 commit 8ea5d9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,9 @@ async def generate_mindmap_task_add(background_tasks: BackgroundTasks, content:
image_url=f"{server_url}/assets/{taskid}.png",
dot_url=f"{server_url}/assets/{taskid}.dot",
status_url=f"{server_url}/knowledge/mindmap/task/result/{taskid}",
remark="The task is being processed, so please remember to save the URL information and visit again later!"
" You can show the URL link to the user for delayed access later.",
remark="While the task is being processed, remember to save the URL information and access"
" it later! You can show the user the image and dot file as well as a link to the task"
" result URL for later delayed access.",
)
with open(os.path.join(DATA_DIR, f"{taskid}.json"), "w") as f:
data = json.dumps(task)
Expand Down

0 comments on commit 8ea5d9f

Please sign in to comment.