Skip to content

wip: conv agent support#393

Closed
mike-deem-uipath wants to merge 2 commits intomainfrom
mdeem-work
Closed

wip: conv agent support#393
mike-deem-uipath wants to merge 2 commits intomainfrom
mdeem-work

Conversation

@mike-deem-uipath
Copy link
Copy Markdown
Contributor

  • LOCAL OVERRIDES
  • wip
  • wip

Comment thread src/uipath_langchain/chat/mapper.py Outdated
A UiPathConversationMessageEvent if the message should be emitted, None otherwise.
"""

logger.warning(f">>>> map_event {vars(message)}")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove

Comment thread src/uipath_langchain/chat/mapper.py Outdated
end=UiPathConversationMessageEndEvent(),
)
]
# text_content = self._extract_text(message.content)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove

Comment thread pyproject.toml
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove



def create_route_agent(thinking_messages_limit: int = 0):
def create_route_agent(thinking_messages_limit: int = 0, is_conversational: bool = False):
Copy link
Copy Markdown
Collaborator

@cotovanu-cristian cotovanu-cristian Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we should implement a different routing edge (create_route_conversational) for conversational and just add it conditionally in the create_agent function given the behavior is different enough to consider them separate?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this case but there are still conditionals in agents.py and other places. I think we need to think about how to refactor the "react" subdir to enable a compositional pattern, not only for conversational agents but to allow us to implement a bunch of different patterns in low code agents (e.g. to address "deep agent" requirements). Also for voice, I think we are going to need an "agent" that just performs tool calls.

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