djmuted commited on
Commit
830813f
1 Parent(s): 98f9468

Let's not remove messages for now

Browse files
Files changed (1) hide show
  1. src/openai.js +1 -1
src/openai.js CHANGED
@@ -91,7 +91,7 @@ openaiRouter.post("/chat/completions", jsonParser, async (req, res) => {
91
  const end = new Date();
92
  const time = end - start;
93
  stats.prompts.push({ time, inputLength: inputPrompt.length, outputLength: response.length });
94
- slack.deleteAllMessages(slackConfig);
95
  slackConfig.locked = false;
96
  return response;
97
  } catch (error) {
 
91
  const end = new Date();
92
  const time = end - start;
93
  stats.prompts.push({ time, inputLength: inputPrompt.length, outputLength: response.length });
94
+ //slack.deleteAllMessages(slackConfig);
95
  slackConfig.locked = false;
96
  return response;
97
  } catch (error) {