Skip to content

Add OpenAI parameters#4

Open
theninj4 wants to merge 1 commit intoNeptuneHub:mainfrom
theninj4:openai
Open

Add OpenAI parameters#4
theninj4 wants to merge 1 commit intoNeptuneHub:mainfrom
theninj4:openai

Conversation

@theninj4
Copy link

@theninj4 theninj4 commented Jan 18, 2026

Self-hosted AI solutions seem to strongly favour the OpenAI API spec rather than Ollama's API. With that in mind, this PR adds the three relevant environment variables to the helm chart.

OPENAI_API_KEY is another secret, included in the flask and worker pods. This isn't really relevant for self-hosting, but seems to be the best route through the AI code which uses the presence of an api-key to decide if we're using an OpenAI compatible API or an Ollama API.

OPENAI_SERVER_URL and OPENAI_MODEL_NAME are then regular environment variables.

Screenshot of my playlists generating locally with these changes and qwen-30b-a3b-instruct:
Screenshot 2026-01-19 at 18 06 41

@theninj4 theninj4 marked this pull request as ready for review January 18, 2026 21:13
@theninj4
Copy link
Author

theninj4 commented Feb 8, 2026

@NeptuneHub if you find a spare 10 minutes could you take a quick look at these PRs? 🙏

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

Successfully merging this pull request may close these issues.

1 participant