[GH-ISSUE #12492] issue: Prompt Autocompletion option missing if authentication is disabled #16620

Closed
opened 2026-04-19 22:30:53 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @i0ntempest on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12492

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.1

Ollama Version (if applicable)

No response

Operating System

macOS 15

Browser (if applicable)

Safari

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

The options shows up

Actual Behavior

The option is missing when authentication is disabled, and is apparently stuck off since prompt completion isn't working.

Steps to Reproduce

  1. Have a openwebui installation and launch it with WEBUI_AUTH=false
  2. Open settings -> interface. Prompt Autocompletion is missing.

Logs & Screenshots

Image

[Error] Unhandled Promise Rejection: TypeError: undefined is not a function (near '...G of k...')
	(anonymous function) (2.CWQPsDEr.js:2810:729544)
	(anonymous function) (2.CWQPsDEr.js:2810:729619)
	(anonymous function) (2.CWQPsDEr.js:2810:729620)
	(anonymous function) (2.CWQPsDEr.js:2810:729687)
	Module Code (2.CWQPsDEr.js:2810:746127)
[Log] Backend config: – Object (0.DR0V-e_L.js, line 2)
Object
[Log] connected – "AuKKTKCOQ9iIQ-GLAAAF" (0.DR0V-e_L.js, line 1)
[Log] user-list – Object (0.DR0V-e_L.js, line 1)
Object
[Log] usage – Object (0.DR0V-e_L.js, line 1)
Object
[Log] user-list – Object (0.DR0V-e_L.js, line 1)
Object
[Log] mounted (Dq5iXFHM.js, line 146)
[Log] Array (1) (Dq5iXFHM.js, line 146)
[Log]  (CAqPUUq3.js, line 204)
[Log] size – 0 – 26 (Dq5iXFHM.js, line 140)
[Warning] [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues. (CAqPUUq3.js, line 113)
[Log] destroy (Dq5iXFHM.js, line 15)
[Log] Object (2.CWQPsDEr.js, line 2829)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (api_key, line 0)
[Log] Object (C9tKZw8-.js, line 1)
[Log] Oops! It looks like there's a hiccup. The API key is missing. Please make sure to provide a valid API key to access this feature. (2.CWQPsDEr.js, line 13)
[Log] Object (13.yO37VdGU.js, line 11)
[Log] false (13.yO37VdGU.js, line 11)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (api_key, line 0)
[Log] Object (C9tKZw8-.js, line 1)
[Log] Oops! It looks like there's a hiccup. The API key is missing. Please make sure to provide a valid API key to access this feature. (2.CWQPsDEr.js, line 13)

Additional Information

No response

Originally created by @i0ntempest on GitHub (Apr 5, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12492 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.1 ### Ollama Version (if applicable) _No response_ ### Operating System macOS 15 ### Browser (if applicable) Safari ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior The options shows up ### Actual Behavior The option is missing when authentication is disabled, and is apparently stuck off since prompt completion isn't working. ### Steps to Reproduce 1. Have a openwebui installation and launch it with `WEBUI_AUTH=false` 2. Open settings -> interface. Prompt Autocompletion is missing. ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/9a97db7f-5ee0-4c56-9f2e-4950a46d39e7) ``` [Error] Unhandled Promise Rejection: TypeError: undefined is not a function (near '...G of k...') (anonymous function) (2.CWQPsDEr.js:2810:729544) (anonymous function) (2.CWQPsDEr.js:2810:729619) (anonymous function) (2.CWQPsDEr.js:2810:729620) (anonymous function) (2.CWQPsDEr.js:2810:729687) Module Code (2.CWQPsDEr.js:2810:746127) [Log] Backend config: – Object (0.DR0V-e_L.js, line 2) Object [Log] connected – "AuKKTKCOQ9iIQ-GLAAAF" (0.DR0V-e_L.js, line 1) [Log] user-list – Object (0.DR0V-e_L.js, line 1) Object [Log] usage – Object (0.DR0V-e_L.js, line 1) Object [Log] user-list – Object (0.DR0V-e_L.js, line 1) Object [Log] mounted (Dq5iXFHM.js, line 146) [Log] Array (1) (Dq5iXFHM.js, line 146) [Log] (CAqPUUq3.js, line 204) [Log] size – 0 – 26 (Dq5iXFHM.js, line 140) [Warning] [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues. (CAqPUUq3.js, line 113) [Log] destroy (Dq5iXFHM.js, line 15) [Log] Object (2.CWQPsDEr.js, line 2829) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (api_key, line 0) [Log] Object (C9tKZw8-.js, line 1) [Log] Oops! It looks like there's a hiccup. The API key is missing. Please make sure to provide a valid API key to access this feature. (2.CWQPsDEr.js, line 13) [Log] Object (13.yO37VdGU.js, line 11) [Log] false (13.yO37VdGU.js, line 11) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (api_key, line 0) [Log] Object (C9tKZw8-.js, line 1) [Log] Oops! It looks like there's a hiccup. The API key is missing. Please make sure to provide a valid API key to access this feature. (2.CWQPsDEr.js, line 13) ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:30:53 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 5, 2025):

Image

Could you check if Autocomplete Generation option is enabled in your admin settings?

<!-- gh-comment-id:2781021795 --> @tjbck commented on GitHub (Apr 5, 2025): <img width="1280" alt="Image" src="https://github.com/user-attachments/assets/c301ce3d-2ef8-45e5-bcee-bc3aeb461824" /> Could you check if `Autocomplete Generation` option is enabled in your admin settings?
Author
Owner

@i0ntempest commented on GitHub (Apr 5, 2025):

Indeed, it was not. Only one of my instances has this global option enabled after the upgrade to 0.6 and it has auth enabled ¯_(ツ)_/¯.

<!-- gh-comment-id:2781028852 --> @i0ntempest commented on GitHub (Apr 5, 2025): Indeed, it was not. Only one of my instances has this global option enabled after the upgrade to 0.6 and it has auth enabled ¯\_(ツ)_/¯.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16620