We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80d45c commit 0c3145dCopy full SHA for 0c3145d
agixt/endpoints/Extension.py
@@ -190,7 +190,8 @@ async def get_extension_categories_v1(
190
# Find extensions that belong to this category
191
category_extensions = []
192
for extension in all_extensions:
193
- if extension.get("category_info", {}).get("id") == str(category.id):
+ category_info = extension.get("category_info")
194
+ if category_info and category_info.get("id") == str(category.id):
195
category_extensions.append(
196
{
197
"name": extension["extension_name"],
0 commit comments