Skip to content

Commit a963d8b

Browse files
committed
🐛 FIX: threads messages list
1 parent d75de24 commit a963d8b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

langbase/primitives/threads.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,3 @@ def append(
126126
return self.request.post(
127127
THREAD_MESSAGES_ENDPOINT.format(thread_id=thread_id), options
128128
)
129-
130-
def list(self, thread_id: str) -> List[ThreadMessagesBaseResponse]:
131-
"""
132-
List messages in a thread.
133-
134-
Args:
135-
thread_id: ID of the thread
136-
137-
Returns:
138-
List of messages in the thread
139-
"""
140-
return self.request.get(THREAD_MESSAGES_ENDPOINT.format(thread_id=thread_id))

0 commit comments

Comments
 (0)