feat(crew): @loopback_tool alias (PRO-3068, part 1) - #124
Merged
Merged
Conversation
Line documents loopback/passthrough/background tools; crew had only the default (@function_tool, result -> LLM). Add @loopback_tool as the alias for that default so agents written to the loopback/passthrough vocabulary read naturally. Exported from smallestai.atoms.crew and .crew.tools; test asserts it aliases function_tool. Passthrough + is_background are the remaining PRO-3068 pieces and need a change on the tool-execution path (crew's tool loop is caller-driven via ToolRegistry.execute, not a framework loop), captured on the ticket.
|
crim doesn't review pull requests automatically here. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First slice of PRO-3068 (Line tool-taxonomy parity). Adds
@loopback_toolas the alias of@function_tool(the default: tool result routes back to the LLM), exported fromsmallestai.atoms.crew. Test asserts the alias + that decorated functions register.@passthrough_toolandis_backgroundare the remaining pieces — they need a change on the tool-execution path because crew's tool loop is caller-driven (ToolRegistry.executereturns results the caller feeds back), not a framework loop like Line. Design captured on PRO-3068.