diff --git a/packages/openai/src/internal/assistant_message.ts b/packages/openai/src/internal/assistant_message.ts index aeb983f..cdf7c62 100644 --- a/packages/openai/src/internal/assistant_message.ts +++ b/packages/openai/src/internal/assistant_message.ts @@ -12,7 +12,7 @@ export async function assistantGetNewMessages( existingMessageIds: string[] ): Promise { const { data } = await threads.messages.list(threadId, { - order: "desc", + order: "asc", run_id: runId, }); return data.filter(