mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-02 16:27:48 +08:00
Refa: Searches /search API to RESTFul (#13770)
### What problem does this PR solve? Searches /search API to RESTFul ### Type of change - [x] Documentation Update - [x] Refactoring Co-authored-by: Jin Hai <haijin.chn@gmail.com> Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
@ -379,7 +379,7 @@ def _select_first_dataset_and_save(
|
||||
return isinstance(kb_ids, list) and len(kb_ids) > 0
|
||||
|
||||
response_url_pattern = (
|
||||
"/dialog/set" if save_testid == "chat-settings-save" else "/search/update"
|
||||
"/dialog/set" if save_testid == "chat-settings-save" else "/api/v1/searches/"
|
||||
)
|
||||
last_payload = {}
|
||||
last_combobox_text = ""
|
||||
|
||||
Reference in New Issue
Block a user