Hello friends.
When going from node A with functions F to node B with functions G, we should unregister_function() all functions in F-G.
I thought it's harmless to leave them in there, but these days we're seeing our LLM do a lot of hallucinated function calls that aren't in the tools list, and in those cases, we want the unregistered function handler catch-all handler to handle those instead of the should-not-be-available-functionhandler.
Thanks!
EDITED: Semantics