refactor: fix bug with complex slots and "django" mode + add docs on debugging with AI agents (#956)

This commit is contained in:
Juro Oravec 2025-02-11 10:57:37 +01:00 committed by GitHub
parent be4d744d64
commit eb3f72ee0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 601 additions and 148 deletions

View file

@ -1045,7 +1045,7 @@ class Component(
component_id=render_id,
slot_name=None,
component_path=component_path,
extra=f"Received {len(args)} args, {len(kwargs)} kwargs, {len(slots)} slots",
extra=f"Received {len(args)} args, {len(kwargs)} kwargs, {len(slots)} slots, Available slots: {slots}",
)
# Register the component to provide