mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-28 11:48:10 +08:00
fix: misc frontend fixes for agent log, login, search settings (#16137)
### What problem does this PR solve? fix: misc frontend fixes for agent log, login, search settings - agent-log: restore server-side pagination on export and search; replace hardcoded labels with i18n keys; switch container to text-text-primary - login: validate register nickname against NICKNAME_PATTERN with reusable setting i18n - next-search: align llm_setting schema with chat (LlmSettingFieldSchema + LLMIdFormField nested, LlmSettingEnabledSchema at form root) so the slider Switch reads the correct path; strip *Enabled flags before submit to avoid backend "Unrecognized field name" errors - locales: add common.reset (zh/en) - skills/go-naming: fix relative link to rules/named.md ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -1043,11 +1043,9 @@ export const useExportAgentLog = () => {
|
||||
mutationFn: async (searchParams: IAgentLogsRequest) => {
|
||||
const { data } = await fetchAgentLogsByCanvasId(id as string, {
|
||||
...searchParams,
|
||||
page: 1,
|
||||
page_size: 100000,
|
||||
});
|
||||
|
||||
return data?.data?.sessions ?? [];
|
||||
return data?.data ?? [];
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user