{% extends "base.html" %} {% block title %}Settings · mflux{% endblock %} {% block main_class %}settings-layout{% endblock %} {% block content %}
Turning this off hides the assistant button and stops any active reply in this browser.
Checking configuration…
Preferences are saved in this browser. OpenAI uses your API billing; oMLX sends messages to your configured inference server. Only messages you submit are sent; generated images are not attached.
Export OMLX_API_KEY and OMLX_MFLUX_MODEL in the environment that starts mflux-web. Use the model name shown in oMLX. The default API base is http://127.0.0.1:8000/v1; set OMLX_BASE_URL if your server uses another address.
Servers on another machine must use HTTPS with a valid certificate. Plain HTTP is supported only for loopback addresses and localhost.
You can put these exports in ~/.zshrc, open a new terminal, and restart mflux-web there. Configuration status checks do not contact oMLX or load a model. The same style preferences apply to both providers.
Export OPENAI_API_KEY in the environment that starts mflux-web. For a terminal launch, you can add export OPENAI_API_KEY="your-api-key" to ~/.zshrc, open a new terminal, and restart mflux-web there.
The Web UI inherits the exported variable; it does not read or execute shell configuration files. A background service needs the key configured in its own launch environment.
Keep the key outside this repository. No key is entered or stored in this page. Key detection does not verify billing or model access.
Changes apply immediately and are remembered in this browser.
Checking for a token…
This checks for a token on the machine running mflux. It does not verify the token or access to a particular model.
Public, ungated models usually work without a token. Gated or private downloads need a token with access to that model; gated models may also require accepting terms on their model page.
hf auth login and follow the prompts.hf is unavailable, run uvx --from huggingface-hub hf auth login.Alternatively, set HF_TOKEN in the environment that launches mflux, then restart the server. An environment token takes precedence over a saved login.
Current server configuration. Change startup options and restart mflux to update these settings.