openai icon indicating copy to clipboard operation
openai copied to clipboard

Assistants: added RunStepList(), RunStep() and MessageRetrieve()

Open pappde opened this issue 3 months ago • 1 comments

  • RunService: added RunStepList() and RunStep()
  • MessageService: added MessageRetrieve()

pappde avatar Apr 26 '24 14:04 pappde

Notes

  1. I tested in my own project, but did not add tests to the Playground project here. Can add if needed
  2. polling "RunStepList()" needs logic to trigger when a new "step" is identified. The streaming implementation of runs might benefit from handling this in the SDK. However, I have not looked closely at the streaming events, so it's possible that this is moot in that scenario.

pappde avatar Apr 26 '24 14:04 pappde

Thank you very much for the PR, but I was also implementing this feature locally.

kayhantolga avatar May 01 '24 18:05 kayhantolga