Skip to content

Comments

fix: make simulation.json resource name comparison case-insensitive#1358

Draft
mjnovice wants to merge 2 commits intomainfrom
fix/case-insensitive-simulation-tool-name
Draft

fix: make simulation.json resource name comparison case-insensitive#1358
mjnovice wants to merge 2 commits intomainfrom
fix/case-insensitive-simulation-tool-name

Conversation

@mjnovice
Copy link
Contributor

Summary

  • Added .lower() to _normalize_tool_name so tool/resource name matching after parsing simulation.json is case-insensitive
  • Added test verifying various casings ("web reader", "WEB READER", "Web reader") all match a configured "Web Reader" entry

Test plan

  • Existing tests pass (2066 passed)
  • New test_handles_tool_name_case_insensitive test covers mixed-case scenarios

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Feb 20, 2026
The LLMMocker had its own raw name comparison that bypassed
_normalize_tool_name, causing simulation to fail when tool names
differ in case (e.g. "API_Workflow" vs "API Workflow").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mjnovice mjnovice marked this pull request as draft February 21, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant