open-webui/backend/open_webui
ferret99gt 57b01cf8fb Fix for system prompt setting
1) Ollama supports sending the system prompt as a parameter, not as an option. (See https://github.com/ollama/ollama/blob/main/docs/api.md#request-8) However, it is in the options dictionary and needs moved to the payload dictionary.
2) After moving the system parameter from ollama_options to ollama_payload, delete it from ollama_options. This is to prevent Ollama throwing a warning about invalid options.
2025-02-19 08:55:11 -05:00
..
data
internal
migrations
models fix: user settings save issue 2025-02-11 23:42:31 -08:00
retrieval fix: include_domain does NOT exist 2025-02-17 19:20:49 -08:00
routers refac 2025-02-17 19:29:28 -08:00
socket refac: direct connections 2025-02-13 00:34:45 -08:00
static refac 2025-02-15 21:14:03 -08:00
storage chore: format 2025-02-09 22:20:47 -08:00
test
utils Fix for system prompt setting 2025-02-19 08:55:11 -05:00
__init__.py
alembic.ini
config.py refac 2025-02-17 21:34:06 -08:00
constants.py
env.py refac 2025-02-16 00:11:18 -08:00
functions.py
main.py enh: full context web search 2025-02-17 18:14:26 -08:00
tasks.py