-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Description
When invoking the following code:
const runs = await client.beta.threads.runs.list(threadId);
we expect the response to include only the runs associated with the provided threadId
. However, the response contains every run in the database, without filtering by the given threadId
.
Steps to Reproduce
-
Default BASE_URL:
Do not provide a customBASE_URL
. The client will fall back to the default server provided by DataStax at:
https://open-assistant-ai.astra.datastax.com -
Client Setup:
Use a Node.js client with the "patch function". -
Execution:
Run the following code snippet:const runs = await client.beta.threads.runs.list(threadId);
-
Observation:
The response contains all runs from the database, not just those associated with the providedthreadId
.
Expected Behavior
The API should return only the runs associated with the provided threadId
.
Actual Behavior
All runs in the database are returned, ignoring the filtering by threadId
.
Environment Details
- BASE_URL: Not provided (defaults to https://open-assistant-ai.astra.datastax.com)
- Client: Node.js client using the "patch function"
- API Version: 2.4.1