Timothy Jaeryang Baek
efe8c4ca69
chore: format
2025-03-01 07:28:00 -08:00
Timothy Jaeryang Baek
d7088efe73
fix: "stream" hook not working
2025-03-01 06:56:24 -08:00
Timothy Jaeryang Baek
05c5e73304
Merge pull request #10373 from dannyl1u/logit_bias
...
feat: logit bias
2025-03-01 06:13:19 -08:00
amuwall
b430deab15
fix: fix typing error in args
2025-03-01 10:20:29 +08:00
dannyl1u
f4bd094128
Merge remote-tracking branch 'origin' into logit_bias
2025-02-27 23:48:22 -08:00
dannyl1u
90aa29528c
logit_bias: handle comma seperated values
2025-02-27 23:13:30 -08:00
Timothy Jaeryang Baek
fcbdfbd744
refac
2025-02-26 23:35:09 -08:00
Timothy Jaeryang Baek
76e90d9f3f
Merge pull request #10436 from victorstevansuse/feat/audits
...
feat: add audit logging feature
2025-02-26 23:15:10 -08:00
Timothy Jaeryang Baek
ddb30589e3
chore: format
...
HIDE MODELS
2025-02-26 22:18:18 -08:00
Timothy Jaeryang Baek
57010901e6
enh: bypass embedding and retrieval
2025-02-26 15:42:19 -08:00
Timothy Jaeryang Baek
674d6e08fc
Merge pull request #10809 from TobiasGoerke/feat/update_timestamp_asynchronously
...
feat: update get_current_user to refresh last active timestamp asynchronously
2025-02-26 02:38:06 -08:00
Tobias Goerke
76891f4760
feat: update get_current_user to refresh last active timestamp asynchronously
2025-02-26 10:53:47 +01:00
Timothy Jaeryang Baek
3be5e3129b
Merge pull request #10752 from NovoNordisk-OpenSource/yvedeng/standardize-logging
...
refactor: replace print statements with logging
2025-02-25 10:53:02 -08:00
Yifang Deng
0e5d5ecb81
refactor: replace print statements with logging for better error tracking
2025-02-25 15:53:55 +01:00
Timothy Jaeryang Baek
7e2b2ec761
fix: openai usage display issue
2025-02-25 01:35:59 -08:00
Timothy Jaeryang Baek
b964b175d4
refac
2025-02-25 01:03:15 -08:00
Timothy Jaeryang Baek
46c4da4864
enh: "stream" hook
2025-02-25 01:00:29 -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
50dec12072
refac
2025-02-21 22:15:22 -08:00
hopeless
7bfa29fa81
Update payload.py
...
Fixes ollama native tool calling because native tool calling content will be str '', and tool call processing will be completely ignored.
2025-02-22 12:13:14 +08:00
Timothy Jaeryang Baek
6623583004
Merge pull request #10549 from jeannotdamoiseaux/fix/oauth-groups-default-typeerror
...
Fix: Ensure `user_oauth_groups` defaults to an empty list to prevent TypeError
2025-02-21 13:37:35 -08:00
Jeannot Damoiseaux
d50098b622
Fix: Ensure user_oauth_groups
defaults to an empty list to prevent TypeError
...
When the OAuth groups claim does not yield a list, `user_oauth_groups` was previously
set to None, causing a TypeError during membership checks. Changed this default to
an empty list (`[]`) to ensure the variable is always iterable, preventing errors
for non-admin users while logging in.
This fix ensures stability in the `update_user_groups` function.
2025-02-21 22:25:22 +01:00
Timothy Jaeryang Baek
086a78f863
Merge pull request #10521 from Seniorsimo/add-stop-parameter
...
**fix** Added support for stop parameter in OpenAI to Ollama conversion
2025-02-21 10:51:49 -08:00
Simone
fb3886cf04
Added support for stop parameter
2025-02-21 18:46:10 +01:00
Bob McElrath
c9079d4b4d
Merge branch 'open-webui:dev' into dev
2025-02-21 09:13:53 -05:00
Bob McElrath
c4b441de65
Support thinking tags used by Openthinker
2025-02-21 09:12:34 -05:00
Simone
a8859a8145
Fix on ollama to openai conversion - stream can return a single message with content
2025-02-20 21:25:32 +01:00
Victor Ribeiro
39c6ecb50d
feat: add audit logger middleware and custom logger using loguru
2025-02-20 11:15:38 -03:00
Timothy Jaeryang Baek
eeb00a5ca2
chore: format
2025-02-20 01:01:29 -08:00
星海
de8492de34
fix: GitHub OAuth email retrieval when public email is not set
2025-02-20 15:06:07 +08:00
Timothy Jaeryang Baek
13e58c1b64
Merge pull request #10360 from ferret99gt/ollama-option-conversion-fixes
...
fix: Update Ollama option handling in payload.py's convert_payload_openai_to_ollama
2025-02-19 22:44:07 -08:00
Timothy Jaeryang Baek
d5a049dc54
Merge pull request #10401 from xinhai-ai/main
...
fix: email claim doesn't effect
2025-02-19 20:43:43 -08:00
星海
dec44e4bcd
Fix: email claim doesn't effect
2025-02-20 11:32:48 +08:00
Timothy Jaeryang Baek
fe5c4b95d5
enh: configurable jupyter execution timeout
2025-02-19 17:05:37 -08:00
dannyl1u
8aa6415500
include logit_bias in form_data
2025-02-19 16:23:58 -08:00
Timothy Jaeryang Baek
efefff71d1
Merge pull request #10363 from ferret99gt/ollama-model-option-conversion-updates
...
feat: Update Payload's apply_model_params_to_body_ollama with full Ollama supported options
2025-02-19 12:32:46 -08:00
Timothy Jaeryang Baek
5da47de6eb
Merge pull request #10366 from tarmst/fix-no-nested-claims-for-group-oauth
...
Fix: Add nested claim search for group oauth management
2025-02-19 12:23:54 -08:00
Timothy Jaeryang Baek
ea4ad3944c
Merge pull request #10378 from Seniorsimo/message-conversion
...
**fix** Add support for tool message in openai to Ollama message conversion
2025-02-19 12:23:11 -08:00
Simone
6f698073bb
Add support for tool message in openai to Ollama message conversion
2025-02-19 21:11:39 +01:00
dannyl1u
4a2a12fd21
feat: scaffolding for logit_bias
2025-02-19 10:33:49 -08:00
tarmst
efe3bca19e
Add nested claim search for groups oauth claim
2025-02-19 16:47:52 +00:00
ferret99gt
5701d6d333
Change the opt dictionary to a mappings dictionary with appropriate casts
...
This is to bring consistency with apply_model_params_to_body_openai. Both now use a mapping dictionary then call and return apply_model_params_to_body directly.
2025-02-19 09:30:16 -05:00
Simone
074ce356de
Added OpenAI usagerequested keys
2025-02-19 15:28:39 +01:00
ferret99gt
fa885c3346
Update remapping logic
...
We copy the params from from the original key to the new key, then delete it. This is to ensure Ollama only gets valid options.
(Add a comment as well)
2025-02-19 09:25:47 -05:00
ferret99gt
a4249a6351
Remove remapping of frequency_penalty to repeat_penalty
...
1) Ollama natively supports frequency_penalty, so this is not necessary.
2) Repeat_penalty is being added to Open WebUI in PR #10016 , allowing Ollama users to pick which penalty methods they want.
2025-02-19 09:24:38 -05:00
ferret99gt
877d21a029
Move parameter remapping above the opt dictionary.
...
This is so that any remappings are handled before options are handled by apply_model_params_to_body
2025-02-19 09:23:33 -05:00
ferret99gt
6b2ba73701
Remove tfs_z
...
See https://github.com/ollama/ollama/blob/main/docs/api.md#request-8
tfs_z was removed from Llama.cpp and Ollama in January 2025.
2025-02-19 09:21:36 -05:00
ferret99gt
cee08e316d
Update Ollama request option list with full supported options
...
See https://github.com/ollama/ollama/blob/main/docs/api.md#request-8
This adds the full suite of supported Ollama options.
2025-02-19 09:21:05 -05:00
ferret99gt
8125b0499b
Remove empty ollama_options
...
1) The empty dictionary from line 176 is never used.
2) Lines 193-194 are not necessary as they were already done at line 177
2025-02-19 08:57:05 -05:00
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