Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WonderPG committed Jan 15, 2025
1 parent 02adef4 commit 93cfc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neuroagent/app/routers/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def get_threads(

@router.get("/{thread_id}")
async def get_thread_metadata(
thread: Annotated[Threads, Depends(get_thread)], # to check if thread exist
thread: Annotated[Threads, Depends(get_thread)],
) -> ThreadsRead:
"""Get all messages of the thread."""
return ThreadsRead(**thread.__dict__)
Expand Down

0 comments on commit 93cfc86

Please sign in to comment.