fix: add user_id parameter to reason_and_execute method
- The method signature was missing user_id, causing TypeError when passed from hermes_reason_and_execute
This commit is contained in:
parent
9ac531bdf0
commit
f9dac4ce7f
@ -409,7 +409,8 @@ class HermesReasoningEngine:
|
||||
# --------------------------------------------------------
|
||||
|
||||
async def reason_and_execute(self, request: str,
|
||||
execute_immediately: bool = True) -> Dict[str, Any]:
|
||||
execute_immediately: bool = True,
|
||||
user_id: str = None) -> Dict[str, Any]:
|
||||
"""
|
||||
Main entry: reason about a request and optionally execute the plan.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user