MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / createAndRun

Method createAndRun

out/cli.cjs:83764–83771  ·  view source on GitHub ↗
(body, options)

Source from the content-addressed store, hash-verified

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 },

Callers 2

createAndRunPollMethod · 0.80

Calls 1

postMethod · 0.80

Tested by

no test coverage detected