Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant find assistant id #2

Open
ari62 opened this issue Oct 10, 2024 · 0 comments
Open

Cant find assistant id #2

ari62 opened this issue Oct 10, 2024 · 0 comments

Comments

@ari62
Copy link

ari62 commented Oct 10, 2024

Hello, I have the assistant id but the project cant find it


 ⨯ Error: failed to pipe response
    at pipeToNodeResponse (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/pipe-readable.js:111:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async sendResponse (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/send-response.js:40:13)
    at async doRender (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:1347:25)
    at async cacheEntry.responseCache.get.routeKind (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:1527:40)
    at async DevServer.renderToResponseWithComponentsImpl (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:1447:28)
    at async DevServer.renderPageComponent (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:1844:24)
    at async DevServer.renderToResponseImpl (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:1882:32)
    at async DevServer.pipeImpl (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:895:25)
    at async NextNodeServer.handleCatchallRenderRequest (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/next-server.js:269:17)
    at async DevServer.handleRequestImpl (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/base-server.js:791:17)
    at async /Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/dev/next-dev-server.js:331:20
    at async Span.traceAsyncFn (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/trace/trace.js:151:20)
    at async DevServer.handleRequest (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/dev/next-dev-server.js:328:24)
    at async invokeRender (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/lib/router-server.js:174:21)
    at async handleRequest (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/lib/router-server.js:353:24)
    at async requestHandlerImpl (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/lib/router-server.js:377:13)
    at async Server.requestListener (/Users/user/PycharmProjects/QuantGPT-v2/node_modules/next/dist/server/lib/start-server.js:140:13) {
  [cause]: NotFoundError: 404 No assistant found with id 'asst_5TFGF9S3qFUeYvQ6FDWnHR0J'.
      at APIError.generate (webpack-internal:///(rsc)/./node_modules/openai/error.mjs:67:20)
      at OpenAI.makeStatusError (webpack-internal:///(rsc)/./node_modules/openai/core.mjs:292:65)
      at OpenAI.makeRequest (webpack-internal:///(rsc)/./node_modules/openai/core.mjs:335:30)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async AssistantStream._createAssistantStream (webpack-internal:///(rsc)/./node_modules/openai/lib/AssistantStream.mjs:221:24)
      at async AssistantStream._runAssistantStream (webpack-internal:///(rsc)/./node_modules/openai/lib/AbstractAssistantStreamRunner.mjs:205:16) {
    status: 404,
    headers: {
      'alt-svc': 'h3=":443"; ma=86400',
      'cf-cache-status': 'DYNAMIC',
      'cf-ray': '8d025ba8596a5e74-EWR',
      connection: 'keep-alive',
      'content-encoding': 'gzip',
      'content-type': 'application/json',
      date: 'Thu, 10 Oct 2024 00:05:19 GMT',
      'openai-organization': 'user-ru7msdacgnwbzle16ixcvkd4',
      'openai-processing-ms': '296',
      'openai-version': '2020-10-01',
      server: 'cloudflare',
      'set-cookie': '__cf_bm=cccc; path=/; expires=Thu, 10-Oct-24 00:35:19 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=cccc-1728518719147-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
      'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
      'transfer-encoding': 'chunked',
      'x-content-type-options': 'nosniff',
      'x-request-id': 'req_388f742c53bd36c6435ed79e6ba9f3a9'
    },
    request_id: 'req_388f742c53bd36c6435ed79e6ba9f3a9',
    error: {
      message: "No assistant found with id 'asst_5TFGF9S3qFUeYvQ6FDWnHR0J'.",
      type: 'invalid_request_error',
      param: null,
      code: null
    },
    code: null,
    param: null,
    type: 'invalid_request_error'
  }
}

any ideas? thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant