This commit is contained in:
Logan Cusano
2024-08-17 19:27:48 -04:00
parent 11b3504f28
commit ebf48c7618
2 changed files with 7 additions and 8 deletions

View File

@@ -197,8 +197,7 @@ let eventHandler;
async submitToolOutputs(toolOutputs, runId, threadId) { async submitToolOutputs(toolOutputs, runId, threadId) {
try { try {
const stream = const stream = this.client.beta.threads.runs.submitToolOutputsStream(
this.client.beta.threads.runs.submitToolOutputsStream(
threadId, threadId,
runId, runId,
{ tool_outputs: toolOutputs }, { tool_outputs: toolOutputs },

View File

@@ -2,7 +2,7 @@ import {
getConfig, getConfig,
setConfig, setConfig,
} from "../../modules/mongo-wrappers/mongoConfigWrappers.mjs"; } from "../../modules/mongo-wrappers/mongoConfigWrappers.mjs";
import { ActivityType, PresenceUpdateStatus, Client } from "discord.js"; import { ActivityType, PresenceUpdateStatus } from "discord.js";
/** /**
* Control the presence or activity of the discord bot. * Control the presence or activity of the discord bot.