generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
I've added a new embedding model: ollama/all-minilm, tested in split&embed page.
I've exported the connfiguration (sensitive setting included). After startup and re-import:
2025-Sep-09 09:59:22 (v1.1.5.dev70+g84afaa275) - ERROR - (client.content.chatbot): Bug detected: 'ollama/all-minilm' is not in list
Traceback (most recent call last):
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/content/chatbot.py", line 150, in <module>
asyncio.run(main())
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/content/chatbot.py", line 77, in main
st_common.vector_search_sidebar()
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/utils/st_common.py", line 502, in vector_search_sidebar
embed_model = vs_gen_selectbox(
^^^^^^^^^^^^^^^^^
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/utils/st_common.py", line 471, in vs_gen_selectbox
index=([""] + valid_options).index(selected_value),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: 'ollama/all-minilm' is not in list
2025-Sep-09 09:59:30 (v1.1.5.dev70+g84afaa275) - ERROR - (client.content.chatbot): Bug detected: 'ollama/all-minilm' is not in list
Traceback (most recent call last):
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/content/chatbot.py", line 150, in <module>
asyncio.run(main())
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/content/chatbot.py", line 77, in main
st_common.vector_search_sidebar()
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/utils/st_common.py", line 502, in vector_search_sidebar
embed_model = vs_gen_selectbox(
^^^^^^^^^^^^^^^^^
File "/Users/cdebari/Documents/GitHub/ai-optimizer-248-mcp-export/src/client/utils/st_common.py", line 471, in vs_gen_selectbox
index=([""] + valid_options).index(selected_value),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Version:
- Python version:
- Operating System:
- Browser:
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels