refactor(stats): improve metadata extraction and workflow change detection
- Implemented robust plugin object extraction in openwebui_stats.py to handle tool/pipe/action types. - Updated community-stats.yml to detect version changes and plugin removals. - Fixed NameError in _resolve_post_type.
This commit is contained in:
@@ -321,7 +321,7 @@ class OpenWebUIStats:
|
||||
post_type = plugin_obj.get("type")
|
||||
elif top_type:
|
||||
post_type = top_type
|
||||
elif not meta and not function_obj:
|
||||
elif not meta and not plugin_obj:
|
||||
post_type = "post"
|
||||
|
||||
post_type = self._normalize_post_type(post_type)
|
||||
|
||||
Reference in New Issue
Block a user