这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@balanceiskey
Copy link
Contributor

Why are we doing this - Today when we create TRTCs, they can be sourced from other normal tools or "MCP" tools and we differentiate between these largely based on the name of the tool. However, as well look to add tools that will require human input and subsequently affect the TRTC flow/statuses/etc. we need some way to differentiate. This PR adds ToolType to the TRTC to allow for that differentiation.

balanceiskey and others added 3 commits April 4, 2025 13:38
- Add ToolType enum to identify tools more reliably
- Add KubechainToolType field to llmclient.Tool for internal tracking
- Update tool creation functions to set appropriate tool types
- Modify isMCPTool to use ToolType field
- Pass tools through function chain for better data flow
- Update createToolCalls to set ToolType in TaskRunToolCall

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@balanceiskey balanceiskey mentioned this pull request Apr 7, 2025
@balanceiskey
Copy link
Contributor Author

Closing in favor of #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant