langgoap.AsyncStuckHandler#
- class AsyncStuckHandler(*args, **kwargs)[source]#
Coroutine-based twin of
StuckHandler(issue #53).Implement
ahandle_stuckwhen recovery needs to await something (an LLM, a store, a network call). UnderGoapGraph.ainvokethe planner awaits it; under the synchronousinvokean async-only handler cannot run and is skipped with a warning.- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)ahandle_stuck(state, reason)Try to recover from a stuck situation, awaiting as needed.
Attributes
nameStable identifier for this handler.