[GH-ISSUE #21894] issue: Tags are not imported when prompts are imported #122917

Closed
opened 2026-05-21 01:59:32 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @Seviks on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21894

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.8.5 as well as dev container

Ollama Version (if applicable)

No response

Operating System

Windows 11, WSL

Browser (if applicable)

Firefox 147 and Edge 145

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Tags are regocnized when importing prompts.

Actual Behavior

Prompts loose their tags when importing json with prompts.

Steps to Reproduce

  1. Pull latest image (0.8.3):
    docker pull ghcr.io/open-webui/open-webui:main
    
  2. Run default container:
    docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
    
  3. Register a user, log in
  4. Create an example prompt with Tag.
    -> Verify tag is there:
Image
  1. Export the example prompt (JSON).
    -> Tag is exported corrrect:
    [{"id":"8f6954c1-abb5-48d8-9348-006ca15f9abe","command":"test","user_id":"fc9e99e1-2209-4f78-852f-f7e96d50e4e2","name":"test","content":"test","data":{},"meta":{},"tags":["tag1"],"is_active":true,"version_id":"8a4f3aea-801b-46bf-8de6-f64a3befc0b8","created_at":1772089938,"updated_at":1772089938,"access_grants":[],"user":{"id":"fc9e99e1-2209-4f78-852f-f7e96d50e4e2","name":"a","role":"admin","email":"a@a.com"},"write_access":true}]
  2. Delete the example prompt.
  3. Import the previously exported prompt (JSON).
  4. Tag is not imported:
Image

Logs & Screenshots

Docker Log:

2026-02-26 08:16:53.538 | 2026-02-26 07:16:53.537 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "POST /api/v1/prompts/create HTTP/1.1" 200
2026-02-26 08:16:53.555 | 2026-02-26 07:16:53.555 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "GET /api/v1/prompts/list?page=1 HTTP/1.1" 200
2026-02-26 08:16:53.580 | 2026-02-26 07:16:53.580 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "GET /api/v1/prompts/tags HTTP/1.1" 200

Browser Log is empty

Additional Information

No response

Originally created by @Seviks on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21894 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.8.5 as well as dev container ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11, WSL ### Browser (if applicable) Firefox 147 and Edge 145 ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Tags are regocnized when importing prompts. ### Actual Behavior Prompts loose their tags when importing json with prompts. ### Steps to Reproduce 1. Pull latest image (0.8.3): ```bash docker pull ghcr.io/open-webui/open-webui:main ``` 2. Run default container: ```bash docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main ``` 3. Register a user, log in 4. Create an example prompt with Tag. -> Verify tag is there: <img width="153" height="108" alt="Image" src="https://github.com/user-attachments/assets/1a79545b-6e6e-410c-8744-4b0cc06bdad7" /> 5. Export the example prompt (JSON). -> Tag is exported corrrect: `[{"id":"8f6954c1-abb5-48d8-9348-006ca15f9abe","command":"test","user_id":"fc9e99e1-2209-4f78-852f-f7e96d50e4e2","name":"test","content":"test","data":{},"meta":{},"tags":["tag1"],"is_active":true,"version_id":"8a4f3aea-801b-46bf-8de6-f64a3befc0b8","created_at":1772089938,"updated_at":1772089938,"access_grants":[],"user":{"id":"fc9e99e1-2209-4f78-852f-f7e96d50e4e2","name":"a","role":"admin","email":"a@a.com"},"write_access":true}]` 6. Delete the example prompt. 7. Import the previously exported prompt (JSON). 8. Tag is not imported: <img width="188" height="94" alt="Image" src="https://github.com/user-attachments/assets/4d708887-369f-4b4b-9f1f-f61c39b6a559" /> ### Logs & Screenshots Docker Log: ``` 2026-02-26 08:16:53.538 | 2026-02-26 07:16:53.537 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "POST /api/v1/prompts/create HTTP/1.1" 200 2026-02-26 08:16:53.555 | 2026-02-26 07:16:53.555 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "GET /api/v1/prompts/list?page=1 HTTP/1.1" 200 2026-02-26 08:16:53.580 | 2026-02-26 07:16:53.580 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.18.0.1:47510 - "GET /api/v1/prompts/tags HTTP/1.1" 200 ``` Browser Log is empty ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-21 01:59:32 -05:00
Author
Owner

@tjbck commented on GitHub (Feb 28, 2026):

Intended.

<!-- gh-comment-id:3977584653 --> @tjbck commented on GitHub (Feb 28, 2026): Intended.
Author
Owner

@Seviks commented on GitHub (Mar 1, 2026):

Ok, maybe there is a reason. For us its a pity, tags for prompts were a long-awaited feature. I dont see, why we can add tags, export tags but not import tags. Our use case: import our prompt libray (>50) with tags, so we can use them directly in owui (now stored in different tool).

<!-- gh-comment-id:3979261555 --> @Seviks commented on GitHub (Mar 1, 2026): Ok, maybe there is a reason. For us its a pity, tags for prompts were a long-awaited feature. I dont see, why we can add tags, export tags but not import tags. Our use case: import our prompt libray (>50) with tags, so we can use them directly in owui (now stored in different tool).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#122917