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

Allow authentication for ollama and other custom providers #19491

Open
1 task done
kov opened this issue Oct 20, 2024 · 0 comments · May be fixed by #19493
Open
1 task done

Allow authentication for ollama and other custom providers #19491

kov opened this issue Oct 20, 2024 · 0 comments · May be fixed by #19493
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label]

Comments

@kov
Copy link

kov commented Oct 20, 2024

Check for existing issues

  • Completed

Describe the feature

I have a remote ollama setup that is protected by a bearer token. I can set it up on several of my tools, but not on zed, as it does not seem to have a way for me to specify any form of authentication for an API endpoint. Several providers already use bearer tokens (as API keys), that should be simple to add to the ollama provider / custom endpoints.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@kov kov added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Oct 20, 2024
@kov kov linked a pull request Oct 20, 2024 that will close this issue
kov added a commit to kov/zed that referenced this issue Oct 20, 2024
Release Notes:

- Added `token_bearer' setting for the ollama provider to allow for authenticated API endpoints
kov added a commit to kov/zed that referenced this issue Oct 21, 2024
)

Release Notes:

- Added OLLAMA_API_KEY and UI to set up key for the ollama provider to allow
  for authenticated API endpoints
@notpeter notpeter added ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label]
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants