feat(agent): rename the generate-file tool type to create-file - #1923
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The test does not verify that the retired generate-file value is rejected.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
This PR aligns the SDK’s built-in file tool type with Agent Builder’s create-file name and removes the generate-file model value.
Changes:
- Rename the internal tool type and update its parsing test.
- Bump the
uipathpackage version to 2.14.28.
| File | Description |
|---|---|
packages/uipath/uv.lock |
Updates the locked package version. |
packages/uipath/tests/agent/models/test_agent.py |
Tests parsing of create-file. |
packages/uipath/src/uipath/agent/models/agent.py |
Renames the tool type and properties model. |
packages/uipath/pyproject.toml |
Bumps the package version. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| tool_resource.properties, AgentInternalCreateFileToolProperties | ||
| ) | ||
| assert tool_resource.properties.tool_type == AgentInternalToolType.GENERATE_FILE | ||
| assert tool_resource.properties.tool_type == AgentInternalToolType.CREATE_FILE |
ionut-mihalache-uipath
approved these changes
Oct 1, 2026
radu-mocanu
force-pushed
the
feat/create-file-tool-type
branch
from
October 1, 2026 13:28
1d38802 to
7ec6a7b
Compare
|
🚨 Heads up:
|
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.




Summary
properties.toolType: "create-file", matching its new name in agent builder.generate-fileis no longer recognized