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

Can't use assistant when using Azure OpenAI #1648

Open
FingerLiu opened this issue Apr 8, 2024 · 0 comments
Open

Can't use assistant when using Azure OpenAI #1648

FingerLiu opened this issue Apr 8, 2024 · 0 comments

Comments

@FingerLiu
Copy link

Azure has already released assistant API in Feb(https://learn.microsoft.com/en-us/azure/ai-services/openai/assistants-quickstart?tabs=command-line&pivots=programming-language-studio).

But when I use it in chatbot-ui it kept telling me "OpenAI API Key not found". May I ask is support for Azure assistant API is under going and when can we use it? I would be happy to help, if the work hasn't started yet.

Error: OpenAI API Key not found
    at checkApiKey (webpack-internal:///(rsc)/./lib/server/server-chat-helpers.ts:58:15)
    at POST (webpack-internal:///(rsc)/./app/api/chat/tools/route.ts:18:85)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/dp/Projects/chatbot-ui/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:63809
    at async eU.execute (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:53964)
    at async eU.handle (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:65062)
    at async doRender (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:1333:42)
    at async cacheEntry.responseCache.get.routeKind (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:1555:28)
    at async DevServer.renderToResponseWithComponentsImpl (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:1463:28)
    at async DevServer.renderPageComponent (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:1856:24)
    at async DevServer.renderToResponseImpl (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:1894:32)
    at async DevServer.pipeImpl (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:911:25)
    at async NextNodeServer.handleCatchallRenderRequest (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/next-server.js:271:17)
    at async DevServer.handleRequestImpl (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/base-server.js:807:17)
    at async /Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/dev/next-dev-server.js:331:20
    at async Span.traceAsyncFn (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/trace/trace.js:151:20)
    at async DevServer.handleRequest (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/dev/next-dev-server.js:328:24)
    at async invokeRender (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/lib/router-server.js:163:21)
    at async handleRequest (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/lib/router-server.js:342:24)
    at async requestHandlerImpl (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/lib/router-server.js:366:13)
    at async Server.requestListener (/Users/dp/Projects/chatbot-ui/node_modules/next/dist/server/lib/start-server.js:140:13)
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