Skip to content

Commit 3d764e2

Browse files
committed
fix(collectives): Make update_page_content ensure there is an AI-edited note at the bottom
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent c8648bf commit 3d764e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ex_app/lib/all_tools/collectives.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ async def update_page_content(collective_id: int, page_id: int, content: str):
121121
Replaces the entire page body. To append, first read with get_page_content and concatenate.
122122
If another user has the page open in the real-time editor, their session may overwrite this
123123
write on save - consider rename_page or trash_page for destructive intent instead.
124+
Make sure that there is a note at the bottom of the page content, that this content was edited with Artificial Intelligence.
124125
:param collective_id: the id of the collective (obtainable with list_collectives)
125126
:param page_id: the id of the page (obtainable with list_collective_pages)
126127
:param content: the new markdown body for the page (replaces existing content)

0 commit comments

Comments
 (0)