AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): remove redundant tier fetch and add empty-query guard
The backend get_user_rate_limit endpoint already returns tier in the response — remove the separate fetchTier() calls that were duplicating the request. Also guard search_users against empty queries to prevent returning the entire user table. Fix pre-existing TS error in useChatSession where createSessionMutation was called with an argument the generated client no longer expects.
Z
Zamil Majdy committed
4f6f3ca240c4b9cbf0bb10982a1ca29b6a2e6a67
Parent: eb22cf4