From bcd6cb8490f9273126b8b20d172454abe0779710 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 22 Oct 2024 14:14:15 +0330 Subject: [PATCH] fixing bugs --- .github/workflows/ghcr.yaml | 2 +- app/api/assistants/threads/route.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ghcr.yaml b/.github/workflows/ghcr.yaml index 6707b3cca..086488914 100644 --- a/.github/workflows/ghcr.yaml +++ b/.github/workflows/ghcr.yaml @@ -5,7 +5,7 @@ on: branches: - sarmad jobs: - publish-hello-docker-image: + publish-sarmad-docker-image: runs-on: ubuntu-latest environment: sarmad steps: diff --git a/app/api/assistants/threads/route.ts b/app/api/assistants/threads/route.ts index a9266aa01..b753b07e4 100644 --- a/app/api/assistants/threads/route.ts +++ b/app/api/assistants/threads/route.ts @@ -1,9 +1,9 @@ -import { openai } from '@/app/openai' +// import { openai } from '@/app/openai' export const runtime = 'nodejs' // Create a new thread export async function POST() { - const thread = await openai.beta.threads.create() - return Response.json({ threadId: thread.id }) + // const thread = await openai.beta.threads.create() + // return Response.json({ threadId: thread.id }) }