MycroftAI/adapt

limit max_frames in ContextManager.get() to frame stack size

forslund opened this issue · 1 comments

If the get()-method's max_frames argument is larger than the frame stack the parameter should be limited to the stack size.

Currently a max_frames value larger than the current stack size will throw an IndexError

Fixed in 0.3.1