We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213e8a3 commit 35a1840Copy full SHA for 35a1840
1 file changed
src/uipath/agent/models/agent.py
@@ -798,7 +798,11 @@ class AgentDefinition(BaseModel):
798
@property
799
def is_conversational(self) -> bool:
800
"""Checks the settings.engine property to determine if the agent is conversational."""
801
- return self.settings.engine == "conversational-v1"
+ if hasattr(self, "metadata") and self.metadata:
802
+ metadata = self.metadata
803
+ if hasattr(metadata, "is_conversational"):
804
+ return metadata.is_conversational
805
+ return False
806
807
@staticmethod
808
def _normalize_guardrails(v: Dict[str, Any]) -> None:
0 commit comments