Update webui setting

This commit is contained in:
zrguo 2025-07-09 12:10:06 +08:00
parent 4705a22861
commit e1541caea9
2 changed files with 3 additions and 1 deletions

View file

@ -2500,6 +2500,8 @@ async def naive_query(
source_type="vector",
)
logger.info(f"Final context: {len(processed_chunks)} chunks")
# Build text_units_context from processed chunks
text_units_context = []
for i, chunk in enumerate(processed_chunks):

View file

@ -111,7 +111,7 @@ const useSettingsStoreBase = create<SettingsState>()(
mode: 'global',
response_type: 'Multiple Paragraphs',
top_k: 10,
max_token_for_text_unit: 4000,
max_token_for_text_unit: 6000,
max_token_for_global_context: 4000,
max_token_for_local_context: 4000,
only_need_context: false,