Skip to content

Commit acff1b1

Browse files
committed
fix: fix clean chat context api response
1 parent 329dd23 commit acff1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

taskingai/assistant/assistant.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ async def a_delete_assistant(assistant_id: str) -> None:
348348
await async_api_delete_assistant(assistant_id=assistant_id)
349349

350350

351-
def clean_chat_context(assistant_id: str, chat_id: str) -> None:
351+
def clean_chat_context(assistant_id: str, chat_id: str) -> ChatCleanContextResponse:
352352
"""
353353
Clean chat context.
354354
@@ -359,7 +359,7 @@ def clean_chat_context(assistant_id: str, chat_id: str) -> None:
359359
api_clean_chat_context(assistant_id=assistant_id, chat_id=chat_id)
360360

361361

362-
async def a_clean_chat_context(assistant_id: str, chat_id: str) -> None:
362+
async def a_clean_chat_context(assistant_id: str, chat_id: str) -> ChatCleanContextResponse:
363363
"""
364364
Clean chat context in async mode.
365365

0 commit comments

Comments
 (0)