Skip to content

Commit 4ad455b

Browse files
committed
UI fixds
1 parent 315d7de commit 4ad455b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/backend/approaches/approach.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,7 @@ async def run_agentic_retrieval(
298298

299299
results = []
300300
if response and response.references:
301-
references = sorted(response.references, key=lambda reference: int(reference.id))
302-
for reference in references:
301+
for reference in response.references:
303302
if isinstance(reference, KnowledgeAgentAzureSearchDocReference) and reference.source_data:
304303
results.append(
305304
Document(

app/frontend/src/components/Settings/Settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ export const Settings = ({
218218
className={styles.settingsSeparator}
219219
label={t("labels.maxSubqueryCount")}
220220
type="number"
221-
min={1}
222-
max={20}
221+
min={2}
222+
max={40}
223223
defaultValue={maxSubqueryCount.toString()}
224224
onChange={(_ev, val) => onChange("maxSubqueryCount", parseInt(val || "10"))}
225225
aria-labelledby={maxSubqueryCountId}

app/frontend/src/pages/chat/Chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ const Chat = () => {
215215
include_category: includeCategory.length === 0 ? undefined : includeCategory,
216216
exclude_category: excludeCategory.length === 0 ? undefined : excludeCategory,
217217
top: retrieveCount,
218+
max_subqueries: maxSubqueryCount,
218219
temperature: temperature,
219220
minimum_reranker_score: minimumRerankerScore,
220221
minimum_search_score: minimumSearchScore,

0 commit comments

Comments
 (0)