Closed mibock closed 5 months ago
I was able to do this with client.messages.list(thread_id: 'thread_adlkfadkfn')
Do we know when this PR will be merged https://github.com/alexrudall/ruby-openai/pull/388 ?
I can merge this weekend :)
Any luck merging this https://github.com/alexrudall/ruby-openai/pull/388? @alexrudall
I can merge this weekend :)
OK THIS weekend ;) Released in v7
The list messages call in the OpenAI API takes some optional parameters like limit, order, after and before. It would be good to be able to pass these in: def list(thread_id:) @client.get(path: "/threads/#{thread_id}/messages") end ----> def list(thread_id:, parameters: {}) @client.get(path: "/threads/#{thread_id}/messages"). (TODO add the parameters) end Thanks