Should "_call_tools" in mellea/stdlib/functional.py be public? #1460
Replies: 4 comments 3 replies
How are tools currently processed in those scenarios? |
|
Here is the _call_tools code |
I would not promote as is. If we did expose something like this, we should probably implement a new helper, maybe something like Would be good for others to weigh in too: @generative-computing/mellea-maintainers |
|
Yes, expose it. Users calling We already ship a On the shape: keep External frameworks point the same way, but the stronger argument is in our own tree. For reference: LangGraph's On "matches codebase conventions": Fix: drop the underscores ( Side note — filed as #1475: lines 502 and 1271 in |
Uh oh!
There was an error while loading. Please reload this page.
The "_call_tools" is the only method that executes tools requested by the model call. It is used only in
So Mellea executes tools automatically in only these cases.
Programs that use "(a)instruct" or "(a)act" must process the tool_call in model response. The "_call_tools" method is useful for the case but it is an internal function.
Should "_call_tools" in mellea/stdlib/functional.py be changed public?
All reactions