Skip to content

Commit

Permalink
OOPS (Removing debugging code)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisfiregamer1 committed Apr 8, 2024
1 parent c7bf275 commit 9854186
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bots/chatgpt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export async function send(
| null,
requirements?: types.Requirements,
): Promise<types.Response> {
console.log(requirements)

if (!requirements?.env?.OPENAI_API_KEY) {
throw new DOMException("env.OPENAI_API_KEY", "NotFoundError");
}
Expand Down Expand Up @@ -125,7 +123,6 @@ export async function send(
let resp: types.Response = await res.json();

if (resp.error) {
console.log(resp.error)
throw new DOMException(resp.error.message, "ExecutionError");
}

Expand Down

0 comments on commit 9854186

Please sign in to comment.