Skip to content

Commit e2a4a28

Browse files
fix: correct function name in test_fix_verification.py
- Changed register_callback to register_display_callback - Ensures test runs correctly and validates the fix 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>
1 parent 985fc2a commit e2a4a28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test_fix_verification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def test_callback(**kwargs):
1111
# because the callback functions would try to access task_name but it wasn't passed
1212

1313
# Register the callback
14-
from praisonaiagents.main import register_callback
15-
register_callback('interaction', test_callback)
14+
from praisonaiagents.main import register_display_callback
15+
register_display_callback('interaction', test_callback)
1616

1717
# Example tool
1818
def simple_tool():

0 commit comments

Comments
 (0)