Athanasios Oikonomou
96758176cc
fix: don't over quote forwarded headers
...
Fix introduced on #15035 is over quoting headers.
Eg mails instead of user@example.com shown as user%40example.com
Eg names instead of First Last shown as First%20Last
Also we are spending some time quoting ids and roles without required.
Keep quote only on user name, initially had problem based on the discussion
https://github.com/open-webui/open-webui/discussions/14391
Also add space in safe characters, in order remove %20 from names.
2025-07-10 22:08:28 +03:00
Timothy Jaeryang Baek
1c41e95ba6
fix/refac: ollama api backward compatibility
2025-07-06 15:02:10 +04:00
Timothy Jaeryang Baek
9a476ae41d
refac: ollama api backward compatibility
2025-07-06 14:40:21 +04:00
Gianpaolo Macario
bdd5120407
fix: rename Ollama API parameter "name" to "model"
2025-07-04 17:33:57 +02:00
Timothy Jaeryang Baek
2b88f66762
refac: MODEL_LIST_CACHE_TTL -> MODELS_CACHE_TTL
2025-06-28 14:44:47 +04:00
Timothy Jaeryang Baek
0447790e6a
feat: MODEL_LIST_CACHE_TTL
2025-06-27 15:59:30 +04:00
priten
8a63a601de
Fix typo on ollama patch
2025-06-16 12:35:09 -05:00
priten
f7920df870
Fix non-ascii error issue on ENABLE_FORWARD_USER_INFO_HEADERS
2025-06-16 12:33:11 -05:00
Timothy Jaeryang Baek
59324a82e0
refac
2025-06-16 13:19:00 +04:00
Timothy Jaeryang Baek
e46e87889e
refac: pass through ollama error message
2025-06-16 13:03:56 +04:00
Timothy Jaeryang Baek
b39d33cefb
refac
2025-06-10 16:52:37 +04:00
Timothy Jaeryang Baek
2ccc441b41
refac
2025-06-10 13:01:45 +04:00
Timothy Jaeryang Baek
8f68b25510
enh/refac: ollama advanced params
2025-06-10 12:48:34 +04:00
Timothy Jaeryang Baek
b2befd486f
refac
2025-05-30 01:24:54 +04:00
Timothy Jaeryang Baek
d43bbcae28
refac/fix: open webui params handling
2025-05-29 12:57:58 +04:00
Timothy Jaeryang Baek
940a437631
refac
2025-05-27 01:16:11 +04:00
Timothy Jaeryang Baek
1cf21d3fa2
feat: ollama unload model
2025-05-23 19:45:29 +04:00
Timothy Jaeryang Baek
0e6f09a0a9
enh: ollama loaded model display
2025-05-23 19:13:18 +04:00
Timothy Jaeryang Baek
a50a8e2ef9
refac: ollama ps
2025-05-23 18:47:50 +04:00
Timothy Jaeryang Baek
08e4c163ea
feat: local/external connections
2025-05-17 01:47:48 +04:00
Timothy Jaeryang Baek
3c4accaeb3
refac/security: ollama model upload path traversal
2025-05-14 15:17:07 +04:00
Samer Albahra
d5e866d839
Fix missing api_config for embedding Ollama proxy endpoints
2025-05-05 12:33:07 -04:00
Tim Jaeryang Baek
bbc1ae0942
Merge pull request #13441 from salbahra/bug/fix-prefix-for-embedding-model
...
fix: Incorrect model reference with Ollama proxy when prefixes are used
2025-05-03 07:17:40 -07:00
Samer Albahra
cafba3eaff
Fix model reference with Ollama proxy when prefixes are used
2025-05-02 11:30:59 -04:00
Timothy Jaeryang Baek
7d0a78a43a
refac: aiohttp trust_env=True
2025-04-28 16:47:34 +04:00
Timothy Jaeryang Baek
9bfb4ae838
fix: ollama proxy "format"
2025-04-28 16:45:23 +04:00
Timothy Jaeryang Baek
7baca2b483
fix: ollama url model download issue
2025-04-24 01:26:19 +09:00
Timothy Jaeryang Baek
eb80719cf0
feat: AIOHTTP_CLIENT_SESSION_SSL
2025-04-17 22:11:42 -07:00
Florian Kick
ec3435de00
make content parameter optional in OpenAI chat completion API endpoint
2025-04-04 13:30:51 +02:00
Timothy Jaeryang Baek
feaa01dc77
fix: ollama requests
2025-03-29 16:52:42 -07:00
foraxe
04046ed6c8
Alternative Temp Fix: Uncomment to Keep Alive Forever
2025-03-15 00:27:20 +08:00
Timothy Jaeryang Baek
c309412980
enh: connection tags
2025-03-11 20:37:30 +00:00
Timothy Jaeryang Baek
80f5573cf3
refac: AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST
2025-03-03 20:24:10 -08:00
Timothy Jaeryang Baek
d8bc3098db
Merge pull request #9918 from df-cgdm/main
...
feat: Add X-OpenWebUI when forwarding to ollama servers
2025-02-24 11:55:04 -08:00
Timothy Jaeryang Baek
eeb00a5ca2
chore: format
2025-02-20 01:01:29 -08:00
Simone
8662108344
Fix on ChatMessage validator: content can be null when using tools
2025-02-19 21:03:23 +01:00
Timothy Jaeryang Baek
38291e9af2
refac
2025-02-15 16:21:19 -08:00
Didier FOURNOUT
06062568c7
black formatting
2025-02-13 16:12:46 +00:00
Didier FOURNOUT
6d62e71c34
Add x-Open-Webui headers for ollama + more for openai
2025-02-13 15:29:26 +00:00
Timothy Jaeryang Baek
60095598ec
chore: format
2025-02-09 22:20:47 -08:00
SentinalMax
95aaacfeb4
fixed GGUF model upload instability
2025-02-07 22:52:24 -06:00
Timothy Jaeryang Baek
7ba717d171
refac: system prompt template
2025-02-05 14:35:18 -08:00
Timothy Jaeryang Baek
23df351239
refac: ollama tool calling support
...
Co-Authored-By: smonux <85928277+smonux@users.noreply.github.com>
2025-02-04 19:22:08 -08:00
Timothy Jaeryang Baek
cc99673906
refac: prompt variables
2025-01-29 21:56:51 -08:00
Jonathan Respeto
b4be58f6b6
Update ollama.py
...
Missing await in coroutine
causing 500 errors on /ollama/api/tags since v0.5.0
2025-01-28 18:27:41 -05:00
Timothy Jaeryang Baek
ba81b47800
refac
2025-01-23 12:06:25 -08:00
Timothy Jaeryang Baek
bb45d35a36
fix: ollama prefix id
2025-01-23 11:04:50 -08:00
Timothy Jaeryang Baek
4a2792b4da
fix: model ids not being applied
2025-01-22 19:00:46 -08:00
Timothy Jaeryang Baek
f4b5039adf
enh: new ollama create model method
2025-01-22 12:36:18 -08:00
Timothy Jaeryang Baek
71ab8b9c93
enh: allow connections with duplicate urls
2025-01-18 17:22:29 -08:00