-
Notifications
You must be signed in to change notification settings - Fork 44.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(market): Handle empty agents response #8393
fix(market): Handle empty agents response #8393
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Abhi1992002 thanks for this, but the supabase submodule shouldn't be deleted in this PR. Can you please fix that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #8370
I added a check to handle cases where no agents or featured agents are returned from the backend. This prevents the marketplace from crashing due to an undefined property error and ensures the UI still loads properly.
Changes 🏗️
Added fallback messages for when featuredAgents and topAgents are empty.