mirror of
https://github.com/zlwaterfield/scramble.git
synced 2026-04-27 00:16:00 +03:00
[PR #5] [CLOSED] Support any OpenAI-compatible API, including local Ollama #12
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/scramble#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/zlwaterfield/scramble/pull/5
Author: @len-foss
Created: 9/18/2024
Status: ❌ Closed
Base:
main← Head:others📝 Commits (2)
db8e851*ENDPOINTSd4cf9d8manifest permissions📊 Changes
4 files changed (+21 additions, -5 deletions)
View changed files
📝
background.js(+5 -3)📝
manifest.json(+2 -0)📝
options.html(+8 -0)📝
options.js(+6 -2)📄 Description
This is a WIP to support other OpenAPI compatible endpoints, including Groq which has a free tier, or more importantly Ollama.
To fully support Ollama, there is one more step:
other origins should be configured on the Ollama server.
https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-allow-additional-web-origins-to-access-ollama
This origin should have the form: chrome-extension://
(or moz for Firefox, but it would require another branch to be compatible with it)
Which means that the key should be added to the manifest: this value maintains the unique ID of an extension, or theme when it is loaded during development.
https://developer.chrome.com/docs/extensions/reference/manifest/key
Could you add it?
After that the doc should be extended a bit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.