(body, options)
| 83762 | * Delete a thread. |
| 83763 | */ |
| 83764 | del(threadId, options) { |
| 83765 | return this._client.delete(`/threads/${threadId}`, { |
| 83766 | ...options, |
| 83767 | headers: { "OpenAI-Beta": "assistants=v2", ...options?.headers } |
| 83768 | }); |
| 83769 | } |
| 83770 | createAndRun(body, options) { |
| 83771 | return this._client.post("/threads/runs", { |
| 83772 | body, |
| 83773 | ...options, |
| 83774 | headers: { "OpenAI-Beta": "assistants=v2", ...options?.headers }, |
no test coverage detected