[GH-ISSUE #12008] issue: excessive quote in code execution output #31964

Closed
opened 2026-04-25 05:51:12 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @IvanVolosyuk on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12008

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.5.20

Ollama Version (if applicable)

0.6.0

Operating System

Ubunu 24.04

Browser (if applicable)

Chrome134.0.6998.117

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

Code interpreter backend: jupyter.

I asked model to generate prime numbers from [2000, 2100]. The code produced by LLM looks sane and output produced and fed into LLM is sane, except for the formatting.
I would have expected something like:

`output {stdout: [2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099], stderr: , result: 0} `

Actual Behavior

I looked at the ollama request generated by openweb ui after code execution and it looks like it has excessive " tokens:

Okay, let's break down the process of generating prime numbers within the range [2000, 2100].

My strategy involves using the Sieve of Eratosthenes algorithm, a classic method for finding all prime numbers up to a specified limit. The algorithm works by iteratively marking the multiples of each prime number, starting with the first prime number, 2.  Numbers that are not multiples of any prime number up to the square root of the limit are then identified as prime.

Here's the Python code interpreter execution:

<code_interpreter type="code" lang="python">
def is_prime(n):
    if n < 2:
        return False
    for i in range(2, int(n**0.5) + 1):
        if n % i == 0:
            return False
    return True

primes = []
for num in range(2000, 2100):
    if is_prime(num):
        primes.append(num)

print(primes)
</code_interpreter>
`` `output
{&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;}
`` `

The request was captured using wireshark tcp sniffer.

Steps to Reproduce

Use gemma3:4b model and made query: Write code to generate prime numbers in range [2000,2100]

I used custom prompt for code generator which works better for me:

You are a helpful assistant that can solve problems by reasoning and, when necessary, executing Python code.  Crucially, you *must* use a specific format for any Python code you want to be executed.  Do *not* use standard code blocks (```python ... ```). Instead, wrap your Python code within the following tags:

<code_interpreter type="code" lang="python">
  # Your Python code here
</code_interpreter>

After submitting code within these tags, **stop responding immediately**.  Wait for the code execution to complete.  I will provide you with the results of the execution wrapped in tags like this:

<details type="code_interpreter" done="true" output="Code output here\n">
<summary>Analyzed</summary>

Once I provide the `<details>` tag with the output, you can resume your response, incorporating the results into your reasoning.

Never mention directly <code_interpreter> tag where no code execution is needed otherwise everything you say after that will be executed as code, you can refer to it as code interpreter without tag if needed. The tags are case sensitive.

It seems I lied to the model as the output it received was quite different, but it still worked fine.

Logs & Screenshots

Mar 24 23:17:24 ubuntu open-webui[1356]: 2025-03-24 23:17:24.249 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completions HTTP/1.1" 200 - {}
Mar 24 23:17:24 ubuntu open-webui[1356]: 2025-03-24 23:17:24.255 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Mar 24 23:17:25 ubuntu open-webui[1356]: 2025-03-24 23:17:25.722 | INFO     | open_webui.utils.middleware:post_response_handler:1985 - content_blocks=[{'type': 'text', 'content': 'Okay, I understand the instructions. I will generate prime numbers within the range [2000, 2100] and us>
Mar 24 23:17:25 ubuntu open-webui[1356]: 2025-03-24 23:17:25.722 | INFO     | open_webui.utils.middleware:post_response_handler:1986 - serialize_content_blocks=Okay, I understand the instructions. I will generate prime numbers within the range [2000, 2100] and use the specified code>
Mar 24 23:17:25 ubuntu open-webui[1356]: <details type="code_interpreter" done="true" output="{&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;}">
Mar 24 23:17:25 ubuntu open-webui[1356]: <summary>Analyzed</summary>
Mar 24 23:17:25 ubuntu open-webui[1356]: ```python
Mar 24 23:17:25 ubuntu open-webui[1356]: def is_prime(n):
Mar 24 23:17:25 ubuntu open-webui[1356]:     if n <= 1:
Mar 24 23:17:25 ubuntu open-webui[1356]:         return False
Mar 24 23:17:25 ubuntu open-webui[1356]:     for i in range(2, int(n**0.5) + 1):
Mar 24 23:17:25 ubuntu open-webui[1356]:         if n % i == 0:
Mar 24 23:17:25 ubuntu open-webui[1356]:             return False
Mar 24 23:17:25 ubuntu open-webui[1356]:     return True
Mar 24 23:17:25 ubuntu open-webui[1356]: primes = []
Mar 24 23:17:25 ubuntu open-webui[1356]: for i in range(2000, 2101):
Mar 24 23:17:25 ubuntu open-webui[1356]:     if is_prime(i):
Mar 24 23:17:25 ubuntu open-webui[1356]:         primes.append(i)
Mar 24 23:17:25 ubuntu open-webui[1356]: print(primes)
Mar 24 23:17:25 ubuntu open-webui[1356]: ```
Mar 24 23:17:25 ubuntu open-webui[1356]: </details> - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.558 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completed HTTP/1.1" 200 - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.567 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.571 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.747 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.985 | INFO     | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'computer_science': 11 - {}
Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.998 | INFO     | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'mathematics': 15 - {}
Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.011 | INFO     | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'algorithms': 0 - {}
Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.028 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {}
Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.033 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {}
Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.026 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {}
Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.037 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Mar 24 23:17:34 ubuntu open-webui[1356]: filter_functions=[]
Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.108 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completions HTTP/1.1" 200 - {}
Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.115 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Mar 24 23:17:36 ubuntu open-webui[1356]: 2025-03-24 23:17:36.138 | INFO     | open_webui.utils.middleware:post_response_handler:1985 - content_blocks=[{'type': 'text', 'content': "Okay, let's break down the process of generating prime numbers within the range [2000, 2100].\n\nMy str>
Mar 24 23:17:36 ubuntu open-webui[1356]: 2025-03-24 23:17:36.138 | INFO     | open_webui.utils.middleware:post_response_handler:1986 - serialize_content_blocks=Okay, let's break down the process of generating prime numbers within the range [2000, 2100].
Mar 24 23:17:36 ubuntu open-webui[1356]: My strategy involves using the Sieve of Eratosthenes algorithm, a classic method for finding all prime numbers up to a specified limit. The algorithm works by iteratively marking the multiples of each prime number, starting with the first pri>
Mar 24 23:17:36 ubuntu open-webui[1356]: Here's the Python code interpreter execution:
Mar 24 23:17:36 ubuntu open-webui[1356]: <details type="code_interpreter" done="true" output="{&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;}">
Mar 24 23:17:36 ubuntu open-webui[1356]: <summary>Analyzed</summary>
Mar 24 23:17:36 ubuntu open-webui[1356]: ```python
Mar 24 23:17:36 ubuntu open-webui[1356]: def is_prime(n):
Mar 24 23:17:36 ubuntu open-webui[1356]:     if n < 2:
Mar 24 23:17:36 ubuntu open-webui[1356]:         return False
Mar 24 23:17:36 ubuntu open-webui[1356]:     for i in range(2, int(n**0.5) + 1):
Mar 24 23:17:36 ubuntu open-webui[1356]:         if n % i == 0:
Mar 24 23:17:36 ubuntu open-webui[1356]:             return False
Mar 24 23:17:36 ubuntu open-webui[1356]:     return True
Mar 24 23:17:36 ubuntu open-webui[1356]: primes = []
Mar 24 23:17:36 ubuntu open-webui[1356]: for num in range(2000, 2100):
Mar 24 23:17:36 ubuntu open-webui[1356]:     if is_prime(num):
Mar 24 23:17:36 ubuntu open-webui[1356]:         primes.append(num)
Mar 24 23:17:36 ubuntu open-webui[1356]: print(primes)
Mar 24 23:17:36 ubuntu open-webui[1356]: ```
Mar 24 23:17:36 ubuntu open-webui[1356]: </details> - {}

Additional Information

No response

Originally created by @IvanVolosyuk on GitHub (Mar 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12008 ### 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.5.20 ### Ollama Version (if applicable) 0.6.0 ### Operating System Ubunu 24.04 ### Browser (if applicable) Chrome134.0.6998.117 ### 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 Code interpreter backend: jupyter. I asked model to generate prime numbers from [2000, 2100]. The code produced by LLM looks sane and output produced and fed into LLM is sane, except for the formatting. I would have expected something like: `` `output {stdout: [2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099], stderr: , result: 0} `` ` ### Actual Behavior I looked at the ollama request generated by openweb ui after code execution and it looks like it has excessive &quot; tokens: ```text Okay, let's break down the process of generating prime numbers within the range [2000, 2100]. My strategy involves using the Sieve of Eratosthenes algorithm, a classic method for finding all prime numbers up to a specified limit. The algorithm works by iteratively marking the multiples of each prime number, starting with the first prime number, 2. Numbers that are not multiples of any prime number up to the square root of the limit are then identified as prime. Here's the Python code interpreter execution: <code_interpreter type="code" lang="python"> def is_prime(n): if n < 2: return False for i in range(2, int(n**0.5) + 1): if n % i == 0: return False return True primes = [] for num in range(2000, 2100): if is_prime(num): primes.append(num) print(primes) </code_interpreter> `` `output {&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;} `` ` ``` The request was captured using wireshark tcp sniffer. ### Steps to Reproduce Use gemma3:4b model and made query: `Write code to generate prime numbers in range [2000,2100]` I used custom prompt for code generator which works better for me: ``` You are a helpful assistant that can solve problems by reasoning and, when necessary, executing Python code. Crucially, you *must* use a specific format for any Python code you want to be executed. Do *not* use standard code blocks (```python ... ```). Instead, wrap your Python code within the following tags: <code_interpreter type="code" lang="python"> # Your Python code here </code_interpreter> After submitting code within these tags, **stop responding immediately**. Wait for the code execution to complete. I will provide you with the results of the execution wrapped in tags like this: <details type="code_interpreter" done="true" output="Code output here\n"> <summary>Analyzed</summary> Once I provide the `<details>` tag with the output, you can resume your response, incorporating the results into your reasoning. Never mention directly <code_interpreter> tag where no code execution is needed otherwise everything you say after that will be executed as code, you can refer to it as code interpreter without tag if needed. The tags are case sensitive. ``` It seems I lied to the model as the output it received was quite different, but it still worked fine. ### Logs & Screenshots ``` Mar 24 23:17:24 ubuntu open-webui[1356]: 2025-03-24 23:17:24.249 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completions HTTP/1.1" 200 - {} Mar 24 23:17:24 ubuntu open-webui[1356]: 2025-03-24 23:17:24.255 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} Mar 24 23:17:25 ubuntu open-webui[1356]: 2025-03-24 23:17:25.722 | INFO | open_webui.utils.middleware:post_response_handler:1985 - content_blocks=[{'type': 'text', 'content': 'Okay, I understand the instructions. I will generate prime numbers within the range [2000, 2100] and us> Mar 24 23:17:25 ubuntu open-webui[1356]: 2025-03-24 23:17:25.722 | INFO | open_webui.utils.middleware:post_response_handler:1986 - serialize_content_blocks=Okay, I understand the instructions. I will generate prime numbers within the range [2000, 2100] and use the specified code> Mar 24 23:17:25 ubuntu open-webui[1356]: <details type="code_interpreter" done="true" output="{&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;}"> Mar 24 23:17:25 ubuntu open-webui[1356]: <summary>Analyzed</summary> Mar 24 23:17:25 ubuntu open-webui[1356]: ```python Mar 24 23:17:25 ubuntu open-webui[1356]: def is_prime(n): Mar 24 23:17:25 ubuntu open-webui[1356]: if n <= 1: Mar 24 23:17:25 ubuntu open-webui[1356]: return False Mar 24 23:17:25 ubuntu open-webui[1356]: for i in range(2, int(n**0.5) + 1): Mar 24 23:17:25 ubuntu open-webui[1356]: if n % i == 0: Mar 24 23:17:25 ubuntu open-webui[1356]: return False Mar 24 23:17:25 ubuntu open-webui[1356]: return True Mar 24 23:17:25 ubuntu open-webui[1356]: primes = [] Mar 24 23:17:25 ubuntu open-webui[1356]: for i in range(2000, 2101): Mar 24 23:17:25 ubuntu open-webui[1356]: if is_prime(i): Mar 24 23:17:25 ubuntu open-webui[1356]: primes.append(i) Mar 24 23:17:25 ubuntu open-webui[1356]: print(primes) Mar 24 23:17:25 ubuntu open-webui[1356]: ``` Mar 24 23:17:25 ubuntu open-webui[1356]: </details> - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.558 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completed HTTP/1.1" 200 - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.567 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.571 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.747 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.985 | INFO | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'computer_science': 11 - {} Mar 24 23:17:26 ubuntu open-webui[1356]: 2025-03-24 23:17:26.998 | INFO | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'mathematics': 15 - {} Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.011 | INFO | open_webui.models.chats:count_chats_by_tag_name_and_user_id:817 - Count of chats for tag 'algorithms': 0 - {} Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.028 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {} Mar 24 23:17:27 ubuntu open-webui[1356]: 2025-03-24 23:17:27.033 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {} Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.026 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/v1/chats/267add4b-ce02-4f01-b633-d2986ee2a197 HTTP/1.1" 200 - {} Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.037 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} Mar 24 23:17:34 ubuntu open-webui[1356]: filter_functions=[] Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.108 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "POST /api/chat/completions HTTP/1.1" 200 - {} Mar 24 23:17:34 ubuntu open-webui[1356]: 2025-03-24 23:17:34.115 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.0.1:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} Mar 24 23:17:36 ubuntu open-webui[1356]: 2025-03-24 23:17:36.138 | INFO | open_webui.utils.middleware:post_response_handler:1985 - content_blocks=[{'type': 'text', 'content': "Okay, let's break down the process of generating prime numbers within the range [2000, 2100].\n\nMy str> Mar 24 23:17:36 ubuntu open-webui[1356]: 2025-03-24 23:17:36.138 | INFO | open_webui.utils.middleware:post_response_handler:1986 - serialize_content_blocks=Okay, let's break down the process of generating prime numbers within the range [2000, 2100]. Mar 24 23:17:36 ubuntu open-webui[1356]: My strategy involves using the Sieve of Eratosthenes algorithm, a classic method for finding all prime numbers up to a specified limit. The algorithm works by iteratively marking the multiples of each prime number, starting with the first pri> Mar 24 23:17:36 ubuntu open-webui[1356]: Here's the Python code interpreter execution: Mar 24 23:17:36 ubuntu open-webui[1356]: <details type="code_interpreter" done="true" output="{&quot;stdout&quot;: &quot;[2003, 2011, 2017, 2027, 2029, 2039, 2053, 2063, 2069, 2081, 2083, 2087, 2089, 2099]&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;result&quot;: &quot;&quot;}"> Mar 24 23:17:36 ubuntu open-webui[1356]: <summary>Analyzed</summary> Mar 24 23:17:36 ubuntu open-webui[1356]: ```python Mar 24 23:17:36 ubuntu open-webui[1356]: def is_prime(n): Mar 24 23:17:36 ubuntu open-webui[1356]: if n < 2: Mar 24 23:17:36 ubuntu open-webui[1356]: return False Mar 24 23:17:36 ubuntu open-webui[1356]: for i in range(2, int(n**0.5) + 1): Mar 24 23:17:36 ubuntu open-webui[1356]: if n % i == 0: Mar 24 23:17:36 ubuntu open-webui[1356]: return False Mar 24 23:17:36 ubuntu open-webui[1356]: return True Mar 24 23:17:36 ubuntu open-webui[1356]: primes = [] Mar 24 23:17:36 ubuntu open-webui[1356]: for num in range(2000, 2100): Mar 24 23:17:36 ubuntu open-webui[1356]: if is_prime(num): Mar 24 23:17:36 ubuntu open-webui[1356]: primes.append(num) Mar 24 23:17:36 ubuntu open-webui[1356]: print(primes) Mar 24 23:17:36 ubuntu open-webui[1356]: ``` Mar 24 23:17:36 ubuntu open-webui[1356]: </details> - {} ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 05:51:12 -05:00
Author
Owner

@IvanVolosyuk commented on GitHub (Mar 24, 2025):

I have created a pull request to fix this: https://github.com/open-webui/open-webui/pull/12010

<!-- gh-comment-id:2748209070 --> @IvanVolosyuk commented on GitHub (Mar 24, 2025): I have created a pull request to fix this: https://github.com/open-webui/open-webui/pull/12010
Author
Owner

@tjbck commented on GitHub (Mar 24, 2025):

Intended behaviour.

<!-- gh-comment-id:2749067415 --> @tjbck commented on GitHub (Mar 24, 2025): Intended behaviour.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#31964