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

BUG: Allow API_KEY Optional for Local Ollama #280

Open
Shirt0355 opened this issue Dec 23, 2024 · 0 comments
Open

BUG: Allow API_KEY Optional for Local Ollama #280

Shirt0355 opened this issue Dec 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Shirt0355
Copy link

Version (please complete the following information):

  • OS: Mac M1
  • Browser: Brave
  • Web Clipper version: 0.10.5
  • Obsidian version: 1.7.7

Describe the bug
Using interpreter for local Ollama server, required API KEY.
When I add space in the API Key, I can able to see call has been made to local server and able to get the empty data
(after restarting the ollama server)

image

image

Expected behavior

  1. With Local Ollama, API KEY should be optional

URLs where the bug occurs

All the pages, with small content or larger contents

To reproduce

Steps to reproduce the behavior:

  1. Install ollama local, and configure it without API KEY or space as API KEY
  2. Start ollama server OLLAMA_ORIGINS=moz-extension://*,chrome-extension://* ollama serve
  3. Go to a web page.
  4. Click on the webclipper

Your template file

# 5 key takeaways from this article
{{" 5 key takeaways from this article"}}

# Extract the main arguments presented
{{" Extract the main arguments presented"}}

---
# Main content
{{content|slice:0,1000}}
@Shirt0355 Shirt0355 added the bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant