After and Before parameters doesn't work in assistant list API

It seems like the After and Before parameters don’t work in assistant list API (/v1/assistants) and this leads to an infinite loop in the OpenAI python package since the logic of checking the next page existence relies on this behavior (can’t put a link, the issue occurres on the 78-th line of the pagination.py file).

1 Like