uipath-langchain 0.0.120__tar.gz → 0.0.155__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/ci.yml +1 -1
  2. uipath_langchain-0.0.155/.github/workflows/integration_tests.yml +74 -0
  3. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-dev.yml +29 -31
  4. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.gitignore +2 -1
  5. uipath_langchain-0.0.155/.pipelines/security-scans.yml +53 -0
  6. uipath_langchain-0.0.155/.pipelines/variables.yml +2 -0
  7. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/PKG-INFO +5 -4
  8. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/human_in_the_loop.md +14 -6
  9. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start.md +16 -17
  10. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/pyproject.toml +5 -8
  11. uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/CLI_REFERENCE.md +565 -0
  12. uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/REQUIRED_STRUCTURE.md +92 -0
  13. uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/SDK_REFERENCE.md +480 -0
  14. uipath_langchain-0.0.155/samples/RAG-quiz-generator/AGENTS.md +21 -0
  15. uipath_langchain-0.0.155/samples/RAG-quiz-generator/CLAUDE.md +1 -0
  16. uipath_langchain-0.0.155/samples/RAG-quiz-generator/bindings.json +26 -0
  17. uipath_langchain-0.0.155/samples/RAG-quiz-generator/entry-points.json +1153 -0
  18. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/pyproject.toml +7 -3
  19. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/src/agents/researcher-RAG-agent.py +2 -2
  20. uipath_langchain-0.0.155/samples/RAG-quiz-generator/uipath.json +1 -0
  21. uipath_langchain-0.0.155/samples/RAG-quiz-generator/uv.lock +2714 -0
  22. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/README.md +21 -0
  23. uipath_langchain-0.0.155/samples/calculator-agent/.agent/CLI_REFERENCE.md +565 -0
  24. uipath_langchain-0.0.155/samples/calculator-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  25. uipath_langchain-0.0.155/samples/calculator-agent/.agent/SDK_REFERENCE.md +480 -0
  26. uipath_langchain-0.0.155/samples/calculator-agent/AGENTS.md +21 -0
  27. uipath_langchain-0.0.155/samples/calculator-agent/CLAUDE.md +1 -0
  28. uipath_langchain-0.0.155/samples/calculator-agent/README.md +43 -0
  29. {uipath_langchain-0.0.120/testcases/simple-local-mcp → uipath_langchain-0.0.155/samples/calculator-agent}/agent.mermaid +3 -6
  30. uipath_langchain-0.0.155/samples/calculator-agent/bindings.json +4 -0
  31. uipath_langchain-0.0.155/samples/calculator-agent/entry-points.json +50 -0
  32. uipath_langchain-0.0.155/samples/calculator-agent/graph.py +49 -0
  33. {uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/calculator-agent}/pyproject.toml +8 -13
  34. uipath_langchain-0.0.155/samples/calculator-agent/uipath.json +1 -0
  35. uipath_langchain-0.0.155/samples/calculator-agent/uv.lock +3228 -0
  36. uipath_langchain-0.0.155/samples/chat-agent/.agent/CLI_REFERENCE.md +565 -0
  37. uipath_langchain-0.0.155/samples/chat-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  38. uipath_langchain-0.0.155/samples/chat-agent/.agent/SDK_REFERENCE.md +480 -0
  39. uipath_langchain-0.0.155/samples/chat-agent/AGENTS.md +21 -0
  40. uipath_langchain-0.0.155/samples/chat-agent/CLAUDE.md +1 -0
  41. uipath_langchain-0.0.155/samples/chat-agent/README.md +30 -0
  42. uipath_langchain-0.0.155/samples/chat-agent/bindings.json +4 -0
  43. uipath_langchain-0.0.155/samples/chat-agent/entry-points.json +146 -0
  44. uipath_langchain-0.0.155/samples/chat-agent/graph.py +31 -0
  45. uipath_langchain-0.0.155/samples/chat-agent/pyproject.toml +48 -0
  46. uipath_langchain-0.0.155/samples/chat-agent/uipath.json +1 -0
  47. uipath_langchain-0.0.155/samples/chat-agent/uv.lock +3307 -0
  48. uipath_langchain-0.0.155/samples/company-research-agent/.agent/CLI_REFERENCE.md +565 -0
  49. uipath_langchain-0.0.155/samples/company-research-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  50. uipath_langchain-0.0.155/samples/company-research-agent/.agent/SDK_REFERENCE.md +480 -0
  51. uipath_langchain-0.0.155/samples/company-research-agent/AGENTS.md +21 -0
  52. uipath_langchain-0.0.155/samples/company-research-agent/CLAUDE.md +1 -0
  53. uipath_langchain-0.0.155/samples/company-research-agent/README.md +46 -0
  54. uipath_langchain-0.0.155/samples/company-research-agent/agent.mermaid +23 -0
  55. uipath_langchain-0.0.155/samples/company-research-agent/bindings.json +4 -0
  56. uipath_langchain-0.0.155/samples/company-research-agent/entry-points.json +34 -0
  57. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/company-research-agent/graph.py +19 -4
  58. uipath_langchain-0.0.155/samples/company-research-agent/langgraph.json +7 -0
  59. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/company-research-agent/pyproject.toml +10 -5
  60. uipath_langchain-0.0.155/samples/company-research-agent/uipath.json +1 -0
  61. uipath_langchain-0.0.155/samples/company-research-agent/uv.lock +3307 -0
  62. uipath_langchain-0.0.155/samples/debug-agent/.agent/CLI_REFERENCE.md +565 -0
  63. uipath_langchain-0.0.155/samples/debug-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  64. uipath_langchain-0.0.155/samples/debug-agent/.agent/SDK_REFERENCE.md +524 -0
  65. uipath_langchain-0.0.155/samples/debug-agent/AGENTS.md +21 -0
  66. uipath_langchain-0.0.155/samples/debug-agent/CLAUDE.md +1 -0
  67. uipath_langchain-0.0.155/samples/debug-agent/README.md +73 -0
  68. uipath_langchain-0.0.155/samples/debug-agent/agent.mermaid +33 -0
  69. uipath_langchain-0.0.155/samples/debug-agent/bindings.json +4 -0
  70. uipath_langchain-0.0.155/samples/debug-agent/entry-points.json +84 -0
  71. uipath_langchain-0.0.155/samples/debug-agent/graph.py +199 -0
  72. uipath_langchain-0.0.155/samples/debug-agent/langgraph.json +7 -0
  73. uipath_langchain-0.0.155/samples/debug-agent/pyproject.toml +44 -0
  74. uipath_langchain-0.0.155/samples/debug-agent/uipath.json +1 -0
  75. uipath_langchain-0.0.155/samples/debug-agent/uv.lock +2716 -0
  76. uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/CLI_REFERENCE.md +565 -0
  77. uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  78. uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/SDK_REFERENCE.md +480 -0
  79. uipath_langchain-0.0.155/samples/email-organizer-agent/.env.template +4 -0
  80. uipath_langchain-0.0.155/samples/email-organizer-agent/.python-version +1 -0
  81. uipath_langchain-0.0.155/samples/email-organizer-agent/.vscode/launch.json +16 -0
  82. uipath_langchain-0.0.155/samples/email-organizer-agent/AGENTS.md +21 -0
  83. uipath_langchain-0.0.155/samples/email-organizer-agent/CLAUDE.md +1 -0
  84. uipath_langchain-0.0.155/samples/email-organizer-agent/README.md +56 -0
  85. uipath_langchain-0.0.155/samples/email-organizer-agent/agent.mermaid +27 -0
  86. uipath_langchain-0.0.155/samples/email-organizer-agent/bindings.json +4 -0
  87. uipath_langchain-0.0.155/samples/email-organizer-agent/entry-points.json +52 -0
  88. uipath_langchain-0.0.155/samples/email-organizer-agent/input.json +4 -0
  89. {uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/email-organizer-agent}/langgraph.json +1 -1
  90. uipath_langchain-0.0.155/samples/email-organizer-agent/pyproject.toml +60 -0
  91. uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/__init__.py +6 -0
  92. uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/main.py +733 -0
  93. uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/outlook_client.py +190 -0
  94. uipath_langchain-0.0.155/samples/email-organizer-agent/uipath.json +1 -0
  95. uipath_langchain-0.0.155/samples/email-organizer-agent/uv.lock +3277 -0
  96. uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/CLI_REFERENCE.md +565 -0
  97. uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/REQUIRED_STRUCTURE.md +64 -0
  98. uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/SDK_REFERENCE.md +480 -0
  99. uipath_langchain-0.0.155/samples/hitl-inbox-server/AGENTS.md +21 -0
  100. uipath_langchain-0.0.155/samples/hitl-inbox-server/CLAUDE.md +1 -0
  101. uipath_langchain-0.0.155/samples/hitl-inbox-server/README.md +63 -0
  102. uipath_langchain-0.0.155/samples/hitl-inbox-server/bindings.json +21 -0
  103. uipath_langchain-0.0.155/samples/hitl-inbox-server/entry-points.json +15 -0
  104. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/main.py +4 -1
  105. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/pyproject.toml +5 -2
  106. uipath_langchain-0.0.155/samples/hitl-inbox-server/uipath.json +1 -0
  107. uipath_langchain-0.0.155/samples/hitl-inbox-server/uv.lock +2358 -0
  108. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/CLI_REFERENCE.md +565 -0
  109. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/REQUIRED_STRUCTURE.md +92 -0
  110. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/SDK_REFERENCE.md +480 -0
  111. {uipath_langchain-0.0.120/testcases/company-research-agent → uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed}/.env.example +1 -2
  112. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/AGENTS.md +21 -0
  113. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/CLAUDE.md +1 -0
  114. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/README.md +2 -0
  115. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/bindings.json +4 -0
  116. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +23 -0
  117. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/entry-points.json +2158 -0
  118. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +3 -3
  119. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +7 -3
  120. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +23 -0
  121. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -1
  122. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +2 -2
  123. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +1 -0
  124. uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +2794 -0
  125. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/CLI_REFERENCE.md +565 -0
  126. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/REQUIRED_STRUCTURE.md +92 -0
  127. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/SDK_REFERENCE.md +480 -0
  128. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/AGENTS.md +21 -0
  129. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/CLAUDE.md +1 -0
  130. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/README.md +23 -22
  131. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +40 -0
  132. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/bindings.json +4 -0
  133. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/uipath.json → uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/entry-points.json +6 -9
  134. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/graph.py +16 -5
  135. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/langgraph.json +7 -0
  136. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +10 -5
  137. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/uipath.json +1 -0
  138. uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/uv.lock +3322 -0
  139. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/CLI_REFERENCE.md +565 -0
  140. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
  141. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/SDK_REFERENCE.md +480 -0
  142. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.env.example +0 -0
  143. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/AGENTS.md +21 -0
  144. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/CLAUDE.md +1 -0
  145. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/README.md +84 -0
  146. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/agent.mermaid +17 -0
  147. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/bindings.json +4 -0
  148. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/entry-points.json +32 -0
  149. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/input.json +1 -0
  150. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/langgraph.json +7 -0
  151. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/main.py +95 -0
  152. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/pyproject.toml +20 -0
  153. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/uipath.json +1 -0
  154. uipath_langchain-0.0.155/samples/oauth-external-apps-agent/uv.lock +3503 -0
  155. uipath_langchain-0.0.155/samples/retrieval-chain/.agent/CLI_REFERENCE.md +565 -0
  156. uipath_langchain-0.0.155/samples/retrieval-chain/.agent/REQUIRED_STRUCTURE.md +64 -0
  157. uipath_langchain-0.0.155/samples/retrieval-chain/.agent/SDK_REFERENCE.md +480 -0
  158. uipath_langchain-0.0.155/samples/retrieval-chain/AGENTS.md +21 -0
  159. uipath_langchain-0.0.155/samples/retrieval-chain/CLAUDE.md +1 -0
  160. uipath_langchain-0.0.155/samples/retrieval-chain/bindings.json +4 -0
  161. uipath_langchain-0.0.155/samples/retrieval-chain/entry-points.json +33 -0
  162. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/main.py +16 -9
  163. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/pyproject.toml +7 -3
  164. uipath_langchain-0.0.155/samples/retrieval-chain/uipath.json +1 -0
  165. uipath_langchain-0.0.155/samples/retrieval-chain/uv.lock +2718 -0
  166. {uipath_langchain-0.0.120/testcases/simple-local-mcp → uipath_langchain-0.0.155/samples/simple-deepagent}/.env.example +1 -2
  167. uipath_langchain-0.0.155/samples/simple-deepagent/README.md +55 -0
  168. uipath_langchain-0.0.155/samples/simple-deepagent/bindings.json +4 -0
  169. uipath_langchain-0.0.155/samples/simple-deepagent/graph.py +88 -0
  170. uipath_langchain-0.0.155/samples/simple-deepagent/langgraph.json +7 -0
  171. uipath_langchain-0.0.155/samples/simple-deepagent/pyproject.toml +47 -0
  172. uipath_langchain-0.0.155/samples/simple-deepagent/uipath.json +2136 -0
  173. uipath_langchain-0.0.155/samples/simple-deepagent/uv.lock +3314 -0
  174. uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/CLI_REFERENCE.md +565 -0
  175. uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/REQUIRED_STRUCTURE.md +92 -0
  176. uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/SDK_REFERENCE.md +480 -0
  177. uipath_langchain-0.0.155/samples/simple-local-mcp/AGENTS.md +21 -0
  178. uipath_langchain-0.0.155/samples/simple-local-mcp/CLAUDE.md +1 -0
  179. uipath_langchain-0.0.155/samples/simple-local-mcp/bindings.json +4 -0
  180. uipath_langchain-0.0.155/samples/simple-local-mcp/entry-points.json +146 -0
  181. uipath_langchain-0.0.155/samples/simple-local-mcp/pyproject.toml +17 -0
  182. {uipath_langchain-0.0.120/testcases → uipath_langchain-0.0.155/samples}/simple-local-mcp/src/simple-local-mcp/math_server.py +11 -2
  183. {uipath_langchain-0.0.120/testcases → uipath_langchain-0.0.155/samples}/simple-local-mcp/src/simple-local-mcp/weather_server.py +6 -0
  184. uipath_langchain-0.0.155/samples/simple-local-mcp/uipath.json +1 -0
  185. uipath_langchain-0.0.155/samples/simple-local-mcp/uv.lock +3449 -0
  186. uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/CLI_REFERENCE.md +565 -0
  187. uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/REQUIRED_STRUCTURE.md +92 -0
  188. uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/SDK_REFERENCE.md +480 -0
  189. uipath_langchain-0.0.155/samples/simple-remote-mcp/AGENTS.md +21 -0
  190. uipath_langchain-0.0.155/samples/simple-remote-mcp/CLAUDE.md +1 -0
  191. uipath_langchain-0.0.155/samples/simple-remote-mcp/agent.mermaid +14 -0
  192. uipath_langchain-0.0.155/samples/simple-remote-mcp/bindings.json +4 -0
  193. uipath_langchain-0.0.155/samples/simple-remote-mcp/entry-points.json +2102 -0
  194. uipath_langchain-0.0.155/samples/simple-remote-mcp/langgraph.json +7 -0
  195. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/main.py +15 -7
  196. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/pyproject.toml +7 -3
  197. uipath_langchain-0.0.155/samples/simple-remote-mcp/uipath.json +1 -0
  198. uipath_langchain-0.0.155/samples/simple-remote-mcp/uv.lock +3454 -0
  199. uipath_langchain-0.0.155/samples/ticket-classification/.agent/CLI_REFERENCE.md +565 -0
  200. uipath_langchain-0.0.155/samples/ticket-classification/.agent/REQUIRED_STRUCTURE.md +92 -0
  201. uipath_langchain-0.0.155/samples/ticket-classification/.agent/SDK_REFERENCE.md +480 -0
  202. uipath_langchain-0.0.155/samples/ticket-classification/AGENTS.md +21 -0
  203. uipath_langchain-0.0.155/samples/ticket-classification/CLAUDE.md +1 -0
  204. uipath_langchain-0.0.155/samples/ticket-classification/bindings.json +4 -0
  205. uipath_langchain-0.0.155/samples/ticket-classification/entry-points.json +43 -0
  206. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/pyproject.toml +7 -3
  207. uipath_langchain-0.0.155/samples/ticket-classification/uipath.json +1 -0
  208. uipath_langchain-0.0.155/samples/ticket-classification/uv.lock +3332 -0
  209. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_conversation.py +306 -0
  210. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_exception.py +43 -0
  211. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_graph_resolver.py +141 -0
  212. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_input.py +147 -0
  213. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_memory.py +26 -0
  214. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_output.py +150 -0
  215. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_runtime.py +489 -0
  216. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_templates/main.py.template +10 -11
  217. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_utils/_graph.py +6 -13
  218. uipath_langchain-0.0.155/src/uipath_langchain/_cli/_utils/_schema.py +137 -0
  219. uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_debug.py +90 -0
  220. uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_dev.py +63 -0
  221. uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_eval.py +100 -0
  222. uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_init.py +309 -0
  223. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/cli_new.py +0 -3
  224. uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_run.py +98 -0
  225. uipath_langchain-0.0.155/src/uipath_langchain/_resources/AGENTS.md +21 -0
  226. uipath_langchain-0.0.155/src/uipath_langchain/_resources/REQUIRED_STRUCTURE.md +92 -0
  227. {uipath_langchain-0.0.120/src/uipath_langchain/tracers → uipath_langchain-0.0.155/src/uipath_langchain/_tracing}/__init__.py +0 -2
  228. uipath_langchain-0.0.155/src/uipath_langchain/_tracing/_instrument_traceable.py +135 -0
  229. {uipath_langchain-0.0.120/src/uipath_langchain/tracers → uipath_langchain-0.0.155/src/uipath_langchain/_tracing}/_utils.py +0 -24
  230. uipath_langchain-0.0.155/src/uipath_langchain/_utils/__init__.py +3 -0
  231. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_request_mixin.py +53 -15
  232. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/__init__.py +13 -0
  233. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/agent.py +100 -0
  234. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/constants.py +2 -0
  235. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/exceptions.py +11 -0
  236. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/init_node.py +20 -0
  237. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/llm_node.py +43 -0
  238. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/router.py +97 -0
  239. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/terminate_node.py +53 -0
  240. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/tools/__init__.py +7 -0
  241. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/tools/tools.py +50 -0
  242. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/types.py +27 -0
  243. uipath_langchain-0.0.155/src/uipath_langchain/agent/react/utils.py +49 -0
  244. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/__init__.py +15 -0
  245. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/context_tool.py +42 -0
  246. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/process_tool.py +50 -0
  247. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/tool_factory.py +39 -0
  248. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/tool_node.py +22 -0
  249. uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/utils.py +11 -0
  250. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/chat/models.py +160 -13
  251. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/middlewares.py +6 -0
  252. uipath_langchain-0.0.155/src/uipath_langchain/py.typed +0 -0
  253. uipath_langchain-0.0.155/src/uipath_langchain/runtime_factories.py +20 -0
  254. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +89 -109
  255. uipath_langchain-0.0.155/testcases/common/trace_assert.py +124 -0
  256. uipath_langchain-0.0.155/testcases/common/validate_output.sh +39 -0
  257. uipath_langchain-0.0.155/testcases/company-research-agent/expected_raw.json +861 -0
  258. uipath_langchain-0.0.155/testcases/company-research-agent/expected_traces.json +41 -0
  259. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/pyproject.toml +0 -1
  260. uipath_langchain-0.0.155/testcases/company-research-agent/run.sh +21 -0
  261. uipath_langchain-0.0.155/testcases/company-research-agent/src/assert.py +49 -0
  262. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/src/graph.py +15 -14
  263. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/uv.lock +1 -1
  264. uipath_langchain-0.0.155/testcases/init-flow/expected_traces.json +32 -0
  265. uipath_langchain-0.0.155/testcases/init-flow/input.json +3 -0
  266. uipath_langchain-0.0.155/testcases/init-flow/pyproject.toml +13 -0
  267. uipath_langchain-0.0.155/testcases/init-flow/run.sh +32 -0
  268. uipath_langchain-0.0.155/testcases/init-flow/src/assert.py +50 -0
  269. uipath_langchain-0.0.155/testcases/simple-local-mcp/expected_traces.json +42 -0
  270. uipath_langchain-0.0.155/testcases/simple-local-mcp/input.json +12 -0
  271. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/pyproject.toml +0 -1
  272. uipath_langchain-0.0.155/testcases/simple-local-mcp/run.sh +21 -0
  273. uipath_langchain-0.0.155/testcases/simple-local-mcp/src/assert.py +50 -0
  274. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/src/simple-local-mcp/graph.py +5 -2
  275. uipath_langchain-0.0.155/testcases/ticket-classification/expected_traces.json +32 -0
  276. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/pyproject.toml +0 -1
  277. uipath_langchain-0.0.155/testcases/ticket-classification/raw_traces.jsonl +462 -0
  278. uipath_langchain-0.0.155/testcases/ticket-classification/run.sh +25 -0
  279. uipath_langchain-0.0.155/testcases/ticket-classification/src/assert.py +54 -0
  280. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/src/main.py +9 -6
  281. uipath_langchain-0.0.155/tests/agent/react/__init__.py +1 -0
  282. uipath_langchain-0.0.155/tests/agent/react/test_utils.py +135 -0
  283. uipath_langchain-0.0.155/tests/cli/test_init.py +202 -0
  284. uipath_langchain-0.0.155/tests/cli/test_schema.py +266 -0
  285. uipath_langchain-0.0.155/uv.lock +3379 -0
  286. uipath_langchain-0.0.120/.github/workflows/integration_tests.yml +0 -38
  287. uipath_langchain-0.0.120/samples/RAG-quiz-generator/uipath.json +0 -1147
  288. uipath_langchain-0.0.120/samples/RAG-quiz-generator/uv.lock +0 -2626
  289. uipath_langchain-0.0.120/samples/company-research-agent/agent.mermaid +0 -23
  290. uipath_langchain-0.0.120/samples/company-research-agent/uipath.json +0 -37
  291. uipath_langchain-0.0.120/samples/company-research-agent/uv.lock +0 -2674
  292. uipath_langchain-0.0.120/samples/hitl-inbox-server/uv.lock +0 -728
  293. uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -23
  294. uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -23
  295. uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -2793
  296. uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -2237
  297. uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -38
  298. uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -2659
  299. uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -2096
  300. uipath_langchain-0.0.120/samples/retrieval-chain/uv.lock +0 -1969
  301. uipath_langchain-0.0.120/samples/simple-local-mcp/pyproject.toml +0 -20
  302. uipath_langchain-0.0.120/samples/simple-local-mcp/uipath.json +0 -145
  303. uipath_langchain-0.0.120/samples/simple-local-mcp/uv.lock +0 -2887
  304. uipath_langchain-0.0.120/samples/simple-remote-mcp/langgraph.json +0 -7
  305. uipath_langchain-0.0.120/samples/simple-remote-mcp/uipath.json +0 -181
  306. uipath_langchain-0.0.120/samples/simple-remote-mcp/uv.lock +0 -3045
  307. uipath_langchain-0.0.120/samples/ticket-classification/uipath.json +0 -50
  308. uipath_langchain-0.0.120/samples/ticket-classification/uv.lock +0 -2040
  309. uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_context.py +0 -21
  310. uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_exception.py +0 -17
  311. uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_input.py +0 -136
  312. uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_output.py +0 -234
  313. uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -373
  314. uipath_langchain-0.0.120/src/uipath_langchain/_cli/cli_init.py +0 -230
  315. uipath_langchain-0.0.120/src/uipath_langchain/_cli/cli_run.py +0 -86
  316. uipath_langchain-0.0.120/src/uipath_langchain/_utils/__init__.py +0 -4
  317. uipath_langchain-0.0.120/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -274
  318. uipath_langchain-0.0.120/src/uipath_langchain/tracers/_events.py +0 -33
  319. uipath_langchain-0.0.120/src/uipath_langchain/tracers/_instrument_traceable.py +0 -416
  320. uipath_langchain-0.0.120/testcases/README.md +0 -22
  321. uipath_langchain-0.0.120/testcases/company-research-agent/Dockerfile +0 -35
  322. uipath_langchain-0.0.120/testcases/company-research-agent/agent.mermaid +0 -23
  323. uipath_langchain-0.0.120/testcases/company-research-agent/src/assert.py +0 -61
  324. uipath_langchain-0.0.120/testcases/company-research-agent/uipath.json +0 -37
  325. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/.env.example +0 -5
  326. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/Dockerfile +0 -36
  327. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/README.md +0 -120
  328. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -38
  329. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/input.json +0 -1
  330. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/src/assert.py +0 -61
  331. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/src/graph.py +0 -236
  332. uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/uv.lock +0 -2986
  333. uipath_langchain-0.0.120/testcases/simple-local-mcp/Dockerfile +0 -34
  334. uipath_langchain-0.0.120/testcases/simple-local-mcp/README.md +0 -95
  335. uipath_langchain-0.0.120/testcases/simple-local-mcp/input.json +0 -1
  336. uipath_langchain-0.0.120/testcases/simple-local-mcp/src/assert.py +0 -61
  337. uipath_langchain-0.0.120/testcases/simple-local-mcp/uipath.json +0 -145
  338. uipath_langchain-0.0.120/testcases/ticket-classification/.env.example +0 -7
  339. uipath_langchain-0.0.120/testcases/ticket-classification/Dockerfile +0 -37
  340. uipath_langchain-0.0.120/testcases/ticket-classification/README.md +0 -22
  341. uipath_langchain-0.0.120/testcases/ticket-classification/agent.mermaid +0 -21
  342. uipath_langchain-0.0.120/testcases/ticket-classification/src/assert.py +0 -71
  343. uipath_langchain-0.0.120/testcases/ticket-classification/uipath.json +0 -50
  344. uipath_langchain-0.0.120/tests/tracers/__init__.py +0 -1
  345. uipath_langchain-0.0.120/tests/tracers/test_async_uipath_tracer.py +0 -366
  346. uipath_langchain-0.0.120/tests/tracers/test_instrument_traceable.py +0 -206
  347. uipath_langchain-0.0.120/uv.lock +0 -3069
  348. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.cursorrules +0 -0
  349. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.editorconfig +0 -0
  350. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.gitattributes +0 -0
  351. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/cd.yml +0 -0
  352. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/commitlint.yml +0 -0
  353. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/lint-custom-version.yml +0 -0
  354. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/lint.yml +0 -0
  355. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-docs.yml +0 -0
  356. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-prior-stable-version.yml +0 -0
  357. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/slack.yml +0 -0
  358. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/test-custom-version.yml +0 -0
  359. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/test.yml +0 -0
  360. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.pre-commit-config.yaml +0 -0
  361. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.python-version +0 -0
  362. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.vscode/extensions.json +0 -0
  363. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.vscode/settings.json +0 -0
  364. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/CONTRIBUTING.md +0 -0
  365. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/LICENSE +0 -0
  366. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/README.md +0 -0
  367. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/chat_models.md +0 -0
  368. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/context_grounding.md +0 -0
  369. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/cloud_env_var_dark.png +0 -0
  370. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/cloud_env_var_light.png +0 -0
  371. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/invoke_output_dark.png +0 -0
  372. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/invoke_output_light.png +0 -0
  373. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/click-storage-bucket.png +0 -0
  374. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-index-1.png +0 -0
  375. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-index-2.png +0 -0
  376. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-process.png +0 -0
  377. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-quiz-generator.png +0 -0
  378. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-storage-bucket-1.png +0 -0
  379. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-storage-bucket-2.png +0 -0
  380. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/folder-path.png +0 -0
  381. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/job-info.png +0 -0
  382. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/output.png +0 -0
  383. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/process-page.png +0 -0
  384. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/researcher-1.png +0 -0
  385. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/researcher-2.png +0 -0
  386. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/run-process-1.png +0 -0
  387. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/run-process-2.png +0 -0
  388. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/storage-bucket-content.png +0 -0
  389. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
  390. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
  391. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
  392. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
  393. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
  394. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
  395. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
  396. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
  397. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
  398. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
  399. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
  400. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
  401. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
  402. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
  403. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/run-agent.png +0 -0
  404. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
  405. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/start-job.png +0 -0
  406. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
  407. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/README.md +0 -0
  408. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/env.example +0 -0
  409. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/input.example/quiz-generator-debug-input.json +0 -0
  410. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/input.example/researcher-debug-input.json +0 -0
  411. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/langgraph.json +0 -0
  412. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/quiz-generator-RAG-agent.mermaid +2 -2
  413. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/researcher-RAG-agent.mermaid +1 -1
  414. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/src/agents/quiz-generator-RAG-agent.py +0 -0
  415. {uipath_langchain-0.0.120/samples/company-research-agent → uipath_langchain-0.0.155/samples/calculator-agent}/langgraph.json +0 -0
  416. {uipath_langchain-0.0.120/samples/company-research-agent → uipath_langchain-0.0.155/samples/chat-agent}/.env.example +0 -0
  417. {uipath_langchain-0.0.120/samples/simple-local-mcp → uipath_langchain-0.0.155/samples/chat-agent}/agent.mermaid +2 -2
  418. {uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/chat-agent}/langgraph.json +0 -0
  419. {uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed → uipath_langchain-0.0.155/samples/company-research-agent}/.env.example +0 -0
  420. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/database.py +0 -0
  421. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/models.py +0 -0
  422. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/schemas.py +0 -0
  423. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/templates/index.html +0 -0
  424. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
  425. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
  426. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
  427. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/.env.example +0 -0
  428. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/README.md +0 -0
  429. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/.env.example +0 -0
  430. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/README.md +0 -0
  431. {uipath_langchain-0.0.120/samples/simple-remote-mcp → uipath_langchain-0.0.155/samples/simple-local-mcp}/agent.mermaid +2 -2
  432. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/langgraph.json +0 -0
  433. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
  434. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/.env.example +0 -0
  435. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/README.md +0 -0
  436. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/.env.example +0 -0
  437. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/README.md +0 -0
  438. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/agent.mermaid +0 -0
  439. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
  440. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/langgraph.json +0 -0
  441. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/main.py +0 -0
  442. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/__init__.py +0 -0
  443. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/__init__.py +0 -0
  444. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
  445. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_settings.py +0 -0
  446. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
  447. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/chat/__init__.py +0 -0
  448. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/embeddings/__init__.py +0 -0
  449. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/embeddings/embeddings.py +0 -0
  450. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/retrievers/__init__.py +0 -0
  451. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
  452. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/vectorstores/__init__.py +0 -0
  453. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/input.json +0 -0
  454. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/langgraph.json +0 -0
  455. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/langgraph.json +0 -0
  456. {uipath_langchain-0.0.120/samples → uipath_langchain-0.0.155/testcases}/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
  457. {uipath_langchain-0.0.120/samples → uipath_langchain-0.0.155/testcases}/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
  458. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/uv.lock +0 -0
  459. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/input.json +0 -0
  460. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/langgraph.json +0 -0
  461. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/uv.lock +0 -0
  462. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/__init__.py +0 -0
  463. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/conftest.py +0 -0
  464. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/langgraph.json +0 -0
  465. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/simple_agent.py +0 -0
  466. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/uipath.json +0 -0
  467. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/test_run.py +0 -0
  468. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/__init__.py +0 -0
  469. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/conftest.py +0 -0
  470. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/action_trigger_hitl.py +0 -0
  471. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/api_trigger_hitl.py +0 -0
  472. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/job_trigger_hitl.py +0 -0
  473. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/langgraph.json +0 -0
  474. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/uipath-default-escalation.json +0 -0
  475. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/uipath.json +0 -0
  476. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_action_trigger.py +0 -0
  477. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_api_trigger.py +0 -0
  478. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_default_escalation.py +0 -0
  479. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_job_trigger.py +0 -0
  480. {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/test_dummy.py +0 -0
@@ -23,4 +23,4 @@ jobs:
23
23
  secrets:
24
24
  UIPATH_URL: ${{ secrets.UIPATH_URL }}
25
25
  UIPATH_CLIENT_ID: ${{ secrets.UIPATH_CLIENT_ID }}
26
- UIPATH_CLIENT_SECRET: ${{ secrets.UIPATH_CLIENT_SECRET }}
26
+ UIPATH_CLIENT_SECRET: ${{ secrets.UIPATH_CLIENT_SECRET }}
@@ -0,0 +1,74 @@
1
+ name: Integration testing
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, develop ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ permissions:
10
+ contents: read
11
+ pull-requests: write
12
+ actions: read
13
+
14
+ jobs:
15
+ discover-testcases:
16
+ runs-on: ubuntu-latest
17
+ outputs:
18
+ testcases: ${{ steps.discover.outputs.testcases }}
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v4
22
+
23
+ - name: Discover testcases
24
+ id: discover
25
+ run: |
26
+ # Find all testcase folders (excluding common folders like README, etc.)
27
+ testcase_dirs=$(find testcases -maxdepth 1 -type d -name "*-*" | sed 's|testcases/||' | sort)
28
+
29
+ echo "Found testcase directories:"
30
+ echo "$testcase_dirs"
31
+
32
+ # Convert to JSON array for matrix
33
+ testcases_json=$(echo "$testcase_dirs" | jq -R -s -c 'split("\n")[:-1]')
34
+ echo "testcases=$testcases_json" >> $GITHUB_OUTPUT
35
+
36
+ integration-tests:
37
+ needs: [discover-testcases]
38
+ runs-on: ubuntu-latest
39
+ container:
40
+ image: ghcr.io/astral-sh/uv:python3.12-bookworm
41
+ env:
42
+ UIPATH_JOB_KEY: "3a03d5cb-fa21-4021-894d-a8e2eda0afe0"
43
+ strategy:
44
+ fail-fast: false
45
+ matrix:
46
+ testcase: ${{ fromJson(needs.discover-testcases.outputs.testcases) }}
47
+ environment: [alpha, staging] # temporary disable [cloud]
48
+ use_azure_chat: [true, false]
49
+
50
+ name: "${{ matrix.testcase }} / ${{ matrix.environment }} / ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
51
+
52
+ steps:
53
+ - name: Checkout code
54
+ uses: actions/checkout@v4
55
+
56
+ - name: Install Dependencies
57
+ run: uv sync
58
+
59
+ - name: Run testcase
60
+ env:
61
+ CLIENT_ID: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_ID || matrix.environment == 'staging' && secrets.STAGING_TEST_CLIENT_ID || matrix.environment == 'cloud' && secrets.CLOUD_TEST_CLIENT_ID }}
62
+ CLIENT_SECRET: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_SECRET || matrix.environment == 'staging' && secrets.STAGING_TEST_CLIENT_SECRET || matrix.environment == 'cloud' && secrets.CLOUD_TEST_CLIENT_SECRET }}
63
+ BASE_URL: ${{ matrix.environment == 'alpha' && secrets.ALPHA_BASE_URL || matrix.environment == 'staging' && secrets.STAGING_BASE_URL || matrix.environment == 'cloud' && secrets.CLOUD_BASE_URL }}
64
+ USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}
65
+ working-directory: testcases/${{ matrix.testcase }}
66
+ run: |
67
+ echo "Running testcase: ${{ matrix.testcase }}"
68
+ echo "Environment: ${{ matrix.environment }}"
69
+ echo "LLM: ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
70
+ echo "USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}"
71
+
72
+ # Execute the testcase run script directly
73
+ bash run.sh
74
+ bash ../common/validate_output.sh
@@ -7,7 +7,6 @@ on:
7
7
  PYPI_TOKEN_NIGHTLY:
8
8
  required: true
9
9
 
10
-
11
10
  jobs:
12
11
  publish-dev:
13
12
  runs-on: ubuntu-latest
@@ -34,44 +33,43 @@ jobs:
34
33
 
35
34
  - name: Modify pyproject.toml for custom UiPath version
36
35
  if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
37
- shell: bash
36
+ shell: pwsh
37
+ env:
38
+ PR_TITLE: ${{ github.event.pull_request.title }}
38
39
  run: |
39
- # Backup original pyproject.toml
40
- cp pyproject.toml pyproject.toml.backup
41
-
42
- # Extract custom version from PR title
43
- PR_TITLE="${{ github.event.pull_request.title }}"
44
- VERSION=$(echo "$PR_TITLE" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.dev[0-9]+' | head -1)
45
-
46
- if [ -z "$VERSION" ]; then
47
- echo "No version found in PR title. Please include version like: 2.0.65.dev1004030443"
40
+ # Extract version from PR title (e.g., "2.0.65.dev1004030443")
41
+ if ($env:PR_TITLE -match '(\d+\.\d+\.\d+\.dev\d+)') {
42
+ $VERSION = $matches[1]
43
+ } else {
44
+ Write-Error "No version found in PR title. Example: 'chore: test (uipath version 2.0.65.dev1004030443)'"
48
45
  exit 1
49
- fi
46
+ }
50
47
 
51
- echo "Extracted version: $VERSION"
48
+ Write-Output "Using UiPath version: $VERSION"
52
49
 
53
- # Update the uipath dependency to the custom version (match both == and >= patterns)
54
- # Target only the dependency lines in dependencies arrays, not project name
55
- sed -i '/dependencies = \[/,/\]/ s|"uipath[=><^~!]*[^"]*"|"uipath=='$VERSION'"|' pyproject.toml
56
- sed -i '/\[project\.optional-dependencies\]/,/^\[/ s|"uipath[=><^~!]*[^"]*"|"uipath=='$VERSION'"|' pyproject.toml
50
+ # Update uipath dependency to exact version (only in dependency arrays, not project name)
51
+ $content = Get-Content pyproject.toml -Raw
57
52
 
53
+ # Replace in main dependencies array
54
+ $content = $content -replace '(?s)(dependencies\s*=\s*\[.*?\])', {
55
+ param($match)
56
+ $match.Value -replace '"uipath([>=<\s,][^"]*|)"', "`"uipath==$VERSION`""
57
+ }
58
58
 
59
+ # Replace in optional-dependencies section (from [project.optional-dependencies] to next [)
60
+ $content = $content -replace '(?s)(\[project\.optional-dependencies\].*?)(?=\n\[|\z)', {
61
+ param($match)
62
+ $match.Value -replace '"uipath([>=<\s,][^"]*|)"', "`"uipath==$VERSION`""
63
+ }
59
64
 
60
- # Add or update [tool.uv.sources] section if it doesn't exist
61
- if ! grep -q "\[tool\.uv\.sources\]" pyproject.toml; then
62
- echo "" >> pyproject.toml
63
- echo "[tool.uv.sources]" >> pyproject.toml
64
- echo 'uipath = { index = "testpypi" }' >> pyproject.toml
65
- else
66
- # Update existing sources if needed
67
- if ! grep -q 'uipath = { index = "testpypi" }' pyproject.toml; then
68
- sed -i '/\[tool\.uv\.sources\]/a uipath = { index = "testpypi" }' pyproject.toml
69
- fi
70
- fi
65
+ # Add [tool.uv.sources] if missing
66
+ if ($content -notmatch '\[tool\.uv\.sources\]') {
67
+ $content += "`n`n[tool.uv.sources]`n uipath = { index = `"testpypi`" }`n"
68
+ }
71
69
 
72
- echo "Modified pyproject.toml to use UiPath version $VERSION from testpypi"
73
- echo "=== Modified pyproject.toml content ==="
74
- grep -A5 -B5 "uipath\|testpypi" pyproject.toml || true
70
+ # Save changes
71
+ $content | Set-Content pyproject.toml -NoNewline
72
+ Write-Output " Updated pyproject.toml"
75
73
 
76
74
  - name: Install dependencies
77
75
  run: uv sync --all-extras
@@ -165,7 +165,7 @@ cython_debug/
165
165
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
166
  # and can be added to the global gitignore or merged into this file. For a more nuclear
167
167
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
- #.idea/
168
+ .idea/
169
169
 
170
170
  # Ruff stuff:
171
171
  .ruff_cache/
@@ -178,3 +178,4 @@ cython_debug/
178
178
  **/.uipath
179
179
  **/**.nupkg
180
180
  **/__uipath/
181
+ **/.langgraph_api
@@ -0,0 +1,53 @@
1
+ trigger: none
2
+ pr: none
3
+
4
+ schedules:
5
+ - cron: "0 11 * * 1"
6
+ displayName: "Every Monday at 1:00 PM"
7
+ branches:
8
+ include:
9
+ - main
10
+ always: true
11
+
12
+ resources:
13
+ repositories:
14
+ - repository: codeql
15
+ type: github
16
+ name: UiPath/AzurePipelinesTemplates
17
+ ref: refs/tags/uipath.security.codeql.1.9.5
18
+ endpoint: UiPath
19
+ - repository: fossa
20
+ type: github
21
+ name: UiPath/AzurePipelinesTemplates
22
+ ref: refs/tags/uipath.security.fossa.3.0.13
23
+ endpoint: UiPath
24
+
25
+ variables:
26
+ - template: ./variables.yml
27
+
28
+ stages:
29
+ - stage: FOSSA
30
+ dependsOn: []
31
+ jobs:
32
+ - job: FOSSA
33
+ steps:
34
+ - template: Security/fossa.steps.yml@fossa
35
+ parameters:
36
+ OS: linux
37
+ azureSubscription: $(azureInternalProductionEaConnectionName)
38
+ FOSSAFlags: '--project "UiPath Langchain Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
39
+ FOSSATestFlags: '--project "UiPath Langchain Python SDK" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
40
+ ${{ if contains(variables['Build.SourceBranch'], 'main') }}:
41
+ publishSecurityReports: true
42
+
43
+
44
+ - stage: CODEQL
45
+ dependsOn: []
46
+ jobs:
47
+ - job: CODEQL
48
+ steps:
49
+ - template: Security/codeql.interpreted.steps.yml@codeql
50
+ parameters:
51
+ os: 'linux64'
52
+ language: 'python'
53
+ azureSubscription: $(azureInternalProductionEaConnectionName)
@@ -0,0 +1,2 @@
1
+ variables:
2
+ azureInternalProductionEaConnectionName: Internal-Production-EA
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.120
3
+ Version: 0.0.155
4
4
  Summary: UiPath Langchain
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
@@ -15,17 +15,18 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Topic :: Software Development :: Build Tools
16
16
  Requires-Python: >=3.10
17
17
  Requires-Dist: httpx>=0.27.0
18
+ Requires-Dist: jsonschema-pydantic>=0.6
18
19
  Requires-Dist: langchain-community>=0.3.21
19
20
  Requires-Dist: langchain-core>=0.3.34
20
21
  Requires-Dist: langchain-openai>=0.3.3
21
22
  Requires-Dist: langchain>=0.3.4
22
23
  Requires-Dist: langgraph-checkpoint-sqlite>=2.0.3
23
- Requires-Dist: langgraph>=0.2.70
24
+ Requires-Dist: langgraph<0.7.0,>=0.5.0
24
25
  Requires-Dist: openai>=1.65.5
26
+ Requires-Dist: openinference-instrumentation-langchain>=0.1.50
25
27
  Requires-Dist: pydantic-settings>=2.6.0
26
28
  Requires-Dist: python-dotenv>=1.0.1
27
- Requires-Dist: uipath<2.2.0,>=2.1.0
28
- Provides-Extra: langchain
29
+ Requires-Dist: uipath<2.2.0,>=2.1.172
29
30
  Description-Content-Type: text/markdown
30
31
 
31
32
  # UiPath LangChain Python SDK
@@ -14,8 +14,9 @@ For more information on UiPath apps, refer to the [UiPath Apps User Guide](https
14
14
 
15
15
  #### Attributes:
16
16
 
17
- - **name** (Optional[str]): The name of the app.
18
- - **key** (Optional[str]): The key of the app.
17
+ - **app_name** (Optional[str]): The name of the app.
18
+ - **app_folder_path** (Optional[str]): The folder path of the app.
19
+ - **app_key** (Optional[str]): The key of the app.
19
20
  - **title** (str): The title of the action to create.
20
21
  - **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
21
22
  - **app_version** (Optional[int]): The version of the app (defaults to 1).
@@ -25,7 +26,7 @@ For more information on UiPath apps, refer to the [UiPath Apps User Guide](https
25
26
 
26
27
  ```python
27
28
  from uipath.models import CreateAction
28
- action_output = interrupt(CreateAction(name="AppName", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
29
+ action_output = interrupt(CreateAction(app_name="AppName", app_folder_path="MyFolderPath", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
29
30
  ```
30
31
 
31
32
  For a practical implementation of the `CreateAction` model, refer to the [ticket-classification sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/ticket-classification). This sample demonstrates how to create an action with dynamic input.
@@ -39,12 +40,13 @@ The `WaitAction` model is used to wait for an action to be handled. This model i
39
40
  #### Attributes:
40
41
 
41
42
  - **action** (Action): The instance of the action to wait for.
43
+ - **app_folder_path** (Optional[str]): The folder path of the app.
42
44
 
43
45
  #### Example:
44
46
 
45
47
  ```python
46
48
  from uipath.models import WaitAction
47
- action_output = interrupt(WaitAction(action=my_action_instance))
49
+ action_output = interrupt(WaitAction(action=my_action_instance, app_folder_path="MyFolderPath"))
48
50
  ```
49
51
 
50
52
  ---
@@ -61,15 +63,20 @@ Upon completion of the invoked process, the current agent will automatically res
61
63
  #### Attributes:
62
64
 
63
65
  - **name** (str): The name of the process to invoke.
66
+ - **process_folder_path** (Optional[str]): The folder path of the process.
64
67
  - **input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
65
68
 
66
69
  #### Example:
67
70
 
68
71
  ```python
69
72
  from uipath.models import InvokeProcess
70
- process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
73
+ process_output = interrupt(InvokeProcess(name="MyProcess", process_folder_path="MyFolderPath", input_arguments={"arg1": "value1"}))
71
74
  ```
72
75
 
76
+ /// warning
77
+ An agent can invoke itself if needed, but this must be done with caution. Be mindful that using the same name for invocation may lead to unintentional loops. To prevent recursion issues, implement safeguards like exit conditions.
78
+ ///
79
+
73
80
  For a practical implementation of the `InvokeProcess` model, refer to the [multi-agent-planner-researcher-coder-distributed sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/multi-agent-planner-researcher-coder-distributed). This sample demonstrates how to invoke a process with dynamic input arguments, showcasing the integration of the interrupt functionality within a multi-agent system or a system where an agent integrates with RPA processes and API workflows.
74
81
 
75
82
  ---
@@ -82,10 +89,11 @@ the job has already been created.
82
89
  #### Attributes:
83
90
 
84
91
  - **job** (Job): The instance of the job that the agent will wait for. This should be a valid job object that has been previously created.
92
+ - **process_folder_path** (Optional[str]): The folder path of the process.
85
93
 
86
94
  #### Example:
87
95
 
88
96
  ```python
89
97
  from uipath.models import WaitJob
90
- job_output = interrupt(WaitJob(job=my_job_instance))
98
+ job_output = interrupt(WaitJob(job=my_job_instance, process_folder_path="MyFolderPath"))
91
99
  ```
@@ -121,7 +121,6 @@ Generate your first UiPath LangChain agent:
121
121
  ✓ Created 'main.py' file.
122
122
  ✓ Created 'langgraph.json' file.
123
123
  ✓ Created 'pyproject.toml' file.
124
- 🔧 Please ensure to define either ANTHROPIC_API_KEY or OPENAI_API_KEY in your .env file.
125
124
  💡 Initialize project: uipath init
126
125
  💡 Run agent: uipath run agent '{"topic": "UiPath"}'
127
126
  ```
@@ -135,6 +134,22 @@ This command creates the following files:
135
134
  | `pyproject.toml` | Project metadata and dependencies as per [PEP 518](https://peps.python.org/pep-0518/). |
136
135
 
137
136
 
137
+ ## Authenticate With UiPath
138
+
139
+ <!-- termynal -->
140
+
141
+ ```shell
142
+ > uipath auth
143
+ ⠋ Authenticating with UiPath ...
144
+ 🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
145
+ 👇 Select tenant:
146
+ 0: Tenant1
147
+ 1: Tenant2
148
+ Select tenant number: 0
149
+ Selected tenant: Tenant1
150
+ ✓ Authentication successful.
151
+ ```
152
+
138
153
  ## Initialize Project
139
154
 
140
155
  <!-- termynal -->
@@ -175,22 +190,6 @@ ANTHROPIC_API_KEY=sk-ant-a.....
175
190
 
176
191
  ////
177
192
 
178
- ## Authenticate With UiPath
179
-
180
- <!-- termynal -->
181
-
182
- ```shell
183
- > uipath auth
184
- ⠋ Authenticating with UiPath ...
185
- 🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
186
- 👇 Select tenant:
187
- 0: Tenant1
188
- 1: Tenant2
189
- Select tenant number: 0
190
- Selected tenant: Tenant1
191
- ✓ Authentication successful.
192
- ```
193
-
194
193
  ## Run The Agent Locally
195
194
 
196
195
  Execute the agent with a sample input:
@@ -1,12 +1,12 @@
1
1
  [project]
2
2
  name = "uipath-langchain"
3
- version = "0.0.120"
3
+ version = "0.0.155"
4
4
  description = "UiPath Langchain"
5
5
  readme = { file = "README.md", content-type = "text/markdown" }
6
6
  requires-python = ">=3.10"
7
7
  dependencies = [
8
- "uipath>=2.1.0, <2.2.0",
9
- "langgraph>=0.2.70",
8
+ "uipath>=2.1.172, <2.2.0",
9
+ "langgraph>=0.5.0, <0.7.0",
10
10
  "langchain-core>=0.3.34",
11
11
  "langgraph-checkpoint-sqlite>=2.0.3",
12
12
  "langchain-community>=0.3.21",
@@ -16,6 +16,8 @@ dependencies = [
16
16
  "python-dotenv>=1.0.1",
17
17
  "httpx>=0.27.0",
18
18
  "openai>=1.65.5",
19
+ "openinference-instrumentation-langchain>=0.1.50",
20
+ "jsonschema-pydantic>=0.6",
19
21
  ]
20
22
  classifiers = [
21
23
  "Development Status :: 3 - Alpha",
@@ -55,11 +57,6 @@ dev = [
55
57
  "pytest_httpx>=0.35.0"
56
58
  ]
57
59
 
58
- [project.optional-dependencies]
59
- langchain = [
60
- "uipath-langchain>=0.0.2"
61
- ]
62
-
63
60
  [tool.hatch.build.targets.wheel]
64
61
  packages = ["src/uipath_langchain"]
65
62