Skip to content

fix: add UiPathChatVertex alias to chat.vertex and bump to 0.10.1#798

Merged
cosminacho merged 1 commit intomainfrom
fix/uipath-chat-vertex-alias
Apr 23, 2026
Merged

fix: add UiPathChatVertex alias to chat.vertex and bump to 0.10.1#798
cosminacho merged 1 commit intomainfrom
fix/uipath-chat-vertex-alias

Conversation

@cosminacho
Copy link
Copy Markdown
Contributor

Summary

  • Re-exports UiPathChatVertex from uipath_langchain.chat.vertex as a backwards-compatible alias pointing to _legacy.vertex.UiPathChatVertex
  • Fixes AttributeError: 'module' object at uipath_langchain.chat.vertex has no attribute 'UiPathChatVertex' caused by the uipath_langchain_client refactor moving the class to _legacy/ without preserving the direct module path
  • Bumps version to 0.10.1

Test plan

  • uv run pytest tests/unit/agent_graph_builder/test_utils.py::TestBuildAgentMessages::test_tokens_with_escalation_and_context_names passes
  • uv run pytest tests/test_no_circular_imports.py passes
  • python -c "from uipath_langchain.chat.vertex import UiPathChatVertex" imports without error

🤖 Generated with Claude Code

@cosminacho cosminacho force-pushed the fix/uipath-chat-vertex-alias branch from 46f5f35 to 015e433 Compare April 23, 2026 11:07
UiPathChatVertex was moved to _legacy during the uipath_langchain_client
refactor but was not re-exported from chat/vertex.py, causing an
AttributeError when accessed via uipath_langchain.chat.vertex directly.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@cosminacho cosminacho force-pushed the fix/uipath-chat-vertex-alias branch from 015e433 to c7847b1 Compare April 23, 2026 11:08
@cosminacho cosminacho merged commit de84bb8 into main Apr 23, 2026
71 of 72 checks passed
@cosminacho cosminacho deleted the fix/uipath-chat-vertex-alias branch April 23, 2026 13:04
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.

2 participants