<html>
    <head>
      <base href="https://bugzilla.suse.com/" />
    </head>
    <body>
        <p>
          <div>
              <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [doc] Issue in "OPEN WEBUI OVERRIDE FILE WITH OLLAMA INCLUDED""
   href="https://bugzilla.suse.com/show_bug.cgi?id=1250214#c1">Comment # 1</a>
                on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [doc] Issue in "OPEN WEBUI OVERRIDE FILE WITH OLLAMA INCLUDED""
   href="https://bugzilla.suse.com/show_bug.cgi?id=1250214">bug 1250214</a>
                from <span class="vcard"><span class="fn">Tapas Nandi</span>
</span></b>
          <pre>Here is the error i get when using the pipeline:

-----------------------------------

INFO:     10.42.0.74:40256 - "GET /suse_ai_filter/valves HTTP/1.1" 200 OK

INFO:     10.42.0.74:51276 - "GET /models HTTP/1.1" 200 OK

[DEBUG] Inlet function called with body: {'stream': True, 'model': 'gemma:2b',
'messages': [{'role': 'user', 'content': "Help me study vocabulary: write a
sentence for me to fill in the blank, and I'll try to pick the correct
option."}], 'features': {'image_generation': False, 'code_interpreter': False,
'web_search': False}, 'metadata': {'user_id':
'02931cd2-78df-4aee-b51c-4eaa4fd14979', 'chat_id':
'057ee8aa-2d05-4a12-a440-3435c6a4e7b1', 'message_id':
'70832873-0435-4850-ab86-d4d443069911', 'session_id': 'jDgJL8nO2nncHwXtAAAG',
'tool_ids': None, 'files': None, 'features': {'image_generation': False,
'code_interpreter': False, 'web_search': False}, 'variables': {'{{USER_NAME}}':
'tapas', '{{USER_LOCATION}}': 'Unknown', '{{CURRENT_DATETIME}}': '2025-09-19
04:42:18', '{{CURRENT_DATE}}': '2025-09-19', '{{CURRENT_TIME}}': '04:42:18',
'{{CURRENT_WEEKDAY}}': 'Friday', '{{CURRENT_TIMEZONE}}': 'Asia/Kolkata',
'{{USER_LANGUAGE}}': 'en-US'}, 'model': None, 'direct': False}, 'options': {}}
and user: {'id': '02931cd2-78df-4aee-b51c-4eaa4fd14979', 'email':
'<a href="mailto:tnandi@suse.com">tnandi@suse.com</a>', 'name': 'tapas', 'role': 'admin'}

INFO:     10.42.0.74:51288 - "POST /suse_ai_filter/filter/inlet HTTP/1.1" 200
OK

[DEBUG] Outlet function called with body: {'model': 'gemma:2b', 'messages':
[{'id': '1a0094a4-bba9-44b6-be54-e3df99d945d7', 'role': 'user', 'content':
"Help me study vocabulary: write a sentence for me to fill in the blank, and
I'll try to pick the correct option.", 'timestamp': 1758237137}, {'id':
'70832873-0435-4850-ab86-d4d443069911', 'role': 'assistant', 'content': "Sure,
here's a sentence to fill in the blank:\n\n**The _____ of the party was quite
lively.**\n\nA. mood\nB. atmosphere\nC. energy\nD. charisma", 'timestamp':
1758237137}], 'chat_id': '057ee8aa-2d05-4a12-a440-3435c6a4e7b1', 'session_id':
'jDgJL8nO2nncHwXtAAAG', 'id': '70832873-0435-4850-ab86-d4d443069911'} and user
{'id': '02931cd2-78df-4aee-b51c-4eaa4fd14979', 'email': '<a href="mailto:tnandi@suse.com">tnandi@suse.com</a>',
'name': 'tapas', 'role': 'admin'}

unsupported operand type(s) for +: 'NoneType' and 'NoneType'

INFO:     10.42.0.74:51292 - "POST /suse_ai_filter/filter/outlet HTTP/1.1" 500
Internal Server Error

[DEBUG] Inlet function called with body: {'stream': True, 'model':
'llama3.1:latest', 'messages': [{'role': 'user', 'content': "Help me study
vocabulary: write a sentence for me to fill in the blank, and I'll try to pick
the correct option."}], 'features': {'image_generation': False,
'code_interpreter': False, 'web_search': False}, 'metadata': {'user_id':
'02931cd2-78df-4aee-b51c-4eaa4fd14979', 'chat_id':
'485c20e6-9d87-414a-a48b-1ef494f8bddc', 'message_id':
'd6be2ce2-86b6-45c7-9401-39dfa9437c3d', 'session_id': 'jDgJL8nO2nncHwXtAAAG',
'tool_ids': None, 'files': None, 'features': {'image_generation': False,
'code_interpreter': False, 'web_search': False}, 'variables': {'{{USER_NAME}}':
'tapas', '{{USER_LOCATION}}': 'Unknown', '{{CURRENT_DATETIME}}': '2025-09-19
04:44:25', '{{CURRENT_DATE}}': '2025-09-19', '{{CURRENT_TIME}}': '04:44:25',
'{{CURRENT_WEEKDAY}}': 'Friday', '{{CURRENT_TIMEZONE}}': 'Asia/Kolkata',
'{{USER_LANGUAGE}}': 'en-US'}, 'model': None, 'direct': False}, 'options': {}}
and user: {'id': '02931cd2-78df-4aee-b51c-4eaa4fd14979', 'email':
'<a href="mailto:tnandi@suse.com">tnandi@suse.com</a>', 'name': 'tapas', 'role': 'admin'}

INFO:     10.42.0.74:56690 - "POST /suse_ai_filter/filter/inlet HTTP/1.1" 200
OK

[DEBUG] Outlet function called with body: {'model': 'llama3.1:latest',
'messages': [{'id': '8d45599c-67cc-4e56-aa9d-87785afad4fb', 'role': 'user',
'content': "Help me study vocabulary: write a sentence for me to fill in the
blank, and I'll try to pick the correct option.", 'timestamp': 1758237264},
{'id': 'd6be2ce2-86b6-45c7-9401-39dfa9437c3d', 'role': 'assistant', 'content':
"Here's your first sentence:\n\nThe new policy aims to _______________________
air pollution by reducing emissions from factories.\n\nAnd here are your
options:\n\nA) decrease\nB) increase\nC) minimize\nD) eliminate\n\nWhich word
do you think fits best in the sentence?", 'timestamp': 1758237264}], 'chat_id':
'485c20e6-9d87-414a-a48b-1ef494f8bddc', 'session_id': 'jDgJL8nO2nncHwXtAAAG',
'id': 'd6be2ce2-86b6-45c7-9401-39dfa9437c3d'} and user {'id':
'02931cd2-78df-4aee-b51c-4eaa4fd14979', 'email': '<a href="mailto:tnandi@suse.com">tnandi@suse.com</a>', 'name':
'tapas', 'role': 'admin'}

unsupported operand type(s) for +: 'NoneType' and 'NoneType'

INFO:     10.42.0.74:56514 - "POST /suse_ai_filter/filter/outlet HTTP/1.1" 500
Internal Server Error

---------------</pre>
          </div>
        </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>