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

Provider ollama is not available (API key not configured or base URL not set) #382

Open
xibudadao opened this issue Dec 26, 2024 · 0 comments

Comments

@xibudadao
Copy link

[morphic] | POST /search/RQICa1cSdMVsAZYT 500 in 183ms
⨯ app/actions.tsx (80:11) @ $$ACTION_0
⨯ Error: Provider ollama is not available (API key not configured or base URL not set)
at $$ACTION_0 (./app/actions.tsx:80:11)
at (/app/.next/server/chunks/ssr/9869f8..js:6867:185)
digest: "1686528464"
78 | // Check if provider is enabled
79 | if (!isProviderEnabled(providerId)) {

80 | throw new Error(
| ^
81 | Provider ${providerId} is not available (API key not configured or base URL not set)
82 | )
83 | }

The computer cannot directly access the external network, and uses a proxy to access. I bought the Azure OpenAI key, so how can I configure this information to take effect?
_AZURE_OPENAI_API_KEY=
_AZURE_OPENAI_API_INSTANCE_NAME=
_AZURE_OPENAI_API_DEPLOYMENT_NAME=
_AZURE_OPENAI_API_VERSION=
_AZURE_OPENAI_API_BASE_PATH=

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