AshAI tool calling: framework does not automatically run the tool?
I'm working through my first tool calling experience in a LiveBook as a learning exercise.
AshAI is adding a %LangChain.Function{} to the chain's tools list, and the LLM responds with :assistant role Message containing the %LangChain.Message.ToolCall{}
I suppose I expected the magic to continue, that the framework would intercept that ToolCall, automatically run the tool, and then respond with a :tool result message to continue the chain.
I know I can write the logic myself to do all that, but I'm here to ask a) did I miss something and this can actually happen or b) what are the considerations that would make this impossible as a feature request?
AshAI is adding a %LangChain.Function{} to the chain's tools list, and the LLM responds with :assistant role Message containing the %LangChain.Message.ToolCall{}
I suppose I expected the magic to continue, that the framework would intercept that ToolCall, automatically run the tool, and then respond with a :tool result message to continue the chain.
I know I can write the logic myself to do all that, but I'm here to ask a) did I miss something and this can actually happen or b) what are the considerations that would make this impossible as a feature request?
