refac
This commit is contained in:
@@ -95,6 +95,7 @@ def apply_params_to_form_data(form_data: dict, model: dict, params: dict | None
|
||||
'compact_token_threshold': int,
|
||||
'system': str,
|
||||
'note_id': str,
|
||||
'tool_approval_mode': str,
|
||||
}
|
||||
|
||||
for key in list(params.keys()):
|
||||
@@ -149,6 +150,7 @@ def remove_open_webui_params(params: dict) -> dict:
|
||||
'compact_token_threshold': int,
|
||||
'system': str,
|
||||
'note_id': str,
|
||||
'tool_approval_mode': str,
|
||||
}
|
||||
|
||||
for key in list(params.keys()):
|
||||
|
||||
Reference in New Issue
Block a user