You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a nice way to set Search All as default? We can set this in ui.py, FileSelector where we change disabled to all. This is an issue, because if we refresh browser and type in the question, default function doesn't return user_id included (my idea how this works, and might be wrong), because user needs to select an option. chat_fn function is then using selecteds but user_id is not present in the tuple if we just refresh browser and user.
# From FileSelectordefdefault(self):
ifself._app.f_user_management:
return"disabled", [], -1return"disabled", [], 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a nice way to set Search All as default? We can set this in
ui.py
,FileSelector
where we changedisabled
toall
. This is an issue, because if we refresh browser and type in the question, default function doesn't return user_id included (my idea how this works, and might be wrong), because user needs to select an option.chat_fn
function is then usingselecteds
butuser_id
is not present in the tuple if we just refresh browser and user.Beta Was this translation helpful? Give feedback.
All reactions