uipath-langchain 0.0.130__tar.gz → 0.0.131__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.

Potentially problematic release.


This version of uipath-langchain might be problematic. Click here for more details.

Files changed (276) hide show
  1. uipath_langchain-0.0.131/.github/workflows/integration_tests.yml +81 -0
  2. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/PKG-INFO +2 -2
  3. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/quick_start.md +0 -1
  4. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/pyproject.toml +2 -2
  5. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/main.py +0 -2
  6. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/main.py +0 -2
  7. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_templates/main.py.template +10 -11
  8. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_utils/_graph.py +0 -13
  9. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/cli_new.py +0 -3
  10. uipath_langchain-0.0.131/testcases/common/print_output.sh +23 -0
  11. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/pyproject.toml +0 -1
  12. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/run.sh +7 -23
  13. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -1
  14. uipath_langchain-0.0.131/testcases/multi-agent-supervisor-researcher-coder/run.sh +29 -0
  15. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/pyproject.toml +0 -1
  16. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/run.sh +7 -24
  17. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/pyproject.toml +0 -1
  18. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/run.sh +7 -21
  19. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/uv.lock +5 -5
  20. uipath_langchain-0.0.130/.github/workflows/integration_tests.yml +0 -162
  21. uipath_langchain-0.0.130/testcases/multi-agent-supervisor-researcher-coder/run.sh +0 -44
  22. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.cursorrules +0 -0
  23. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.editorconfig +0 -0
  24. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.gitattributes +0 -0
  25. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/cd.yml +0 -0
  26. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/ci.yml +0 -0
  27. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/commitlint.yml +0 -0
  28. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/lint-custom-version.yml +0 -0
  29. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/lint.yml +0 -0
  30. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/publish-dev.yml +0 -0
  31. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/publish-docs.yml +0 -0
  32. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/publish-prior-stable-version.yml +0 -0
  33. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/slack.yml +0 -0
  34. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/test-custom-version.yml +0 -0
  35. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.github/workflows/test.yml +0 -0
  36. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.gitignore +0 -0
  37. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.pre-commit-config.yaml +0 -0
  38. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.python-version +0 -0
  39. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.vscode/extensions.json +0 -0
  40. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/.vscode/settings.json +0 -0
  41. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/CONTRIBUTING.md +0 -0
  42. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/LICENSE +0 -0
  43. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/README.md +0 -0
  44. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/chat_models.md +0 -0
  45. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/context_grounding.md +0 -0
  46. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/human_in_the_loop.md +0 -0
  47. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/quick_start_images/cloud_env_var_dark.png +0 -0
  48. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/quick_start_images/cloud_env_var_light.png +0 -0
  49. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/quick_start_images/invoke_output_dark.png +0 -0
  50. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/quick_start_images/invoke_output_light.png +0 -0
  51. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/click-storage-bucket.png +0 -0
  52. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-index-1.png +0 -0
  53. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-index-2.png +0 -0
  54. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-process.png +0 -0
  55. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-quiz-generator.png +0 -0
  56. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-storage-bucket-1.png +0 -0
  57. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/create-storage-bucket-2.png +0 -0
  58. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/folder-path.png +0 -0
  59. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/job-info.png +0 -0
  60. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/output.png +0 -0
  61. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/process-page.png +0 -0
  62. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/researcher-1.png +0 -0
  63. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/researcher-2.png +0 -0
  64. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/run-process-1.png +0 -0
  65. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/run-process-2.png +0 -0
  66. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/RAG/storage-bucket-content.png +0 -0
  67. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
  68. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
  69. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
  70. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
  71. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
  72. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
  73. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
  74. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
  75. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
  76. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
  77. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
  78. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
  79. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
  80. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
  81. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/run-agent.png +0 -0
  82. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
  83. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/start-job.png +0 -0
  84. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
  85. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/README.md +0 -0
  86. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/env.example +0 -0
  87. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/input.example/quiz-generator-debug-input.json +0 -0
  88. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/input.example/researcher-debug-input.json +0 -0
  89. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/langgraph.json +0 -0
  90. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/pyproject.toml +0 -0
  91. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/quiz-generator-RAG-agent.mermaid +0 -0
  92. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/researcher-RAG-agent.mermaid +0 -0
  93. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/src/agents/quiz-generator-RAG-agent.py +0 -0
  94. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/src/agents/researcher-RAG-agent.py +0 -0
  95. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/uipath.json +0 -0
  96. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/RAG-quiz-generator/uv.lock +0 -0
  97. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/README.md +0 -0
  98. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/.env.example +0 -0
  99. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/agent.mermaid +0 -0
  100. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/graph.py +0 -0
  101. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/langgraph.json +0 -0
  102. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/pyproject.toml +0 -0
  103. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/uipath.json +0 -0
  104. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/chat-agent/uv.lock +0 -0
  105. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/.env.example +0 -0
  106. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/agent.mermaid +0 -0
  107. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/graph.py +0 -0
  108. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/langgraph.json +0 -0
  109. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/pyproject.toml +0 -0
  110. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/uipath.json +0 -0
  111. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/company-research-agent/uv.lock +0 -0
  112. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/.env.template +0 -0
  113. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/.python-version +0 -0
  114. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/.vscode/launch.json +0 -0
  115. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/README.md +0 -0
  116. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/agent.mermaid +0 -0
  117. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/input.json +0 -0
  118. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/langgraph.json +0 -0
  119. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/pyproject.toml +0 -0
  120. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/src/email_organizer/__init__.py +0 -0
  121. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/src/email_organizer/main.py +0 -0
  122. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/src/email_organizer/outlook_client.py +0 -0
  123. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/uipath.json +0 -0
  124. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/email-organizer-agent/uv.lock +0 -0
  125. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/database.py +0 -0
  126. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/main.py +0 -0
  127. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/models.py +0 -0
  128. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/pyproject.toml +0 -0
  129. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/schemas.py +0 -0
  130. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/templates/index.html +0 -0
  131. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/hitl-inbox-server/uv.lock +0 -0
  132. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
  133. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -0
  134. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
  135. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
  136. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
  137. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +0 -0
  138. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
  139. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
  140. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
  141. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
  142. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
  143. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
  144. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
  145. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
  146. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
  147. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
  148. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
  149. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -0
  150. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
  151. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
  152. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/.env.example +0 -0
  153. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/README.md +0 -0
  154. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/pyproject.toml +0 -0
  155. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/uipath.json +0 -0
  156. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/retrieval-chain/uv.lock +0 -0
  157. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/.env.example +0 -0
  158. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/README.md +0 -0
  159. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/agent.mermaid +0 -0
  160. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/langgraph.json +0 -0
  161. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/pyproject.toml +0 -0
  162. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
  163. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
  164. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
  165. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/uipath.json +0 -0
  166. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-local-mcp/uv.lock +0 -0
  167. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/.env.example +0 -0
  168. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/README.md +0 -0
  169. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/agent.mermaid +0 -0
  170. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/langgraph.json +0 -0
  171. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/pyproject.toml +0 -0
  172. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/uipath.json +0 -0
  173. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/simple-remote-mcp/uv.lock +0 -0
  174. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/.env.example +0 -0
  175. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/README.md +0 -0
  176. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/agent.mermaid +0 -0
  177. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
  178. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/langgraph.json +0 -0
  179. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/main.py +0 -0
  180. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/pyproject.toml +0 -0
  181. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/uipath.json +0 -0
  182. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/samples/ticket-classification/uv.lock +0 -0
  183. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/__init__.py +0 -0
  184. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/__init__.py +0 -0
  185. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
  186. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_conversation.py +0 -0
  187. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
  188. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
  189. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_output.py +0 -0
  190. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -0
  191. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
  192. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/cli_dev.py +0 -0
  193. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/cli_eval.py +0 -0
  194. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/cli_init.py +0 -0
  195. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_cli/cli_run.py +0 -0
  196. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_utils/__init__.py +0 -0
  197. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
  198. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_utils/_settings.py +0 -0
  199. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
  200. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/builder/agent_config.py +0 -0
  201. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/chat/__init__.py +0 -0
  202. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/chat/models.py +0 -0
  203. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/embeddings/__init__.py +0 -0
  204. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/embeddings/embeddings.py +0 -0
  205. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/middlewares.py +0 -0
  206. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/retrievers/__init__.py +0 -0
  207. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
  208. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
  209. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/tracers/__init__.py +0 -0
  210. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/tracers/_events.py +0 -0
  211. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
  212. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/tracers/_utils.py +0 -0
  213. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/vectorstores/__init__.py +0 -0
  214. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
  215. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/Dockerfile +0 -0
  216. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/README.md +0 -0
  217. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/.env.example +0 -0
  218. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/agent.mermaid +0 -0
  219. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/input.json +0 -0
  220. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/langgraph.json +0 -0
  221. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/src/assert.py +0 -0
  222. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/src/graph.py +0 -0
  223. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/uipath.json +0 -0
  224. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/company-research-agent/uv.lock +0 -0
  225. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/.env.example +0 -0
  226. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/README.md +0 -0
  227. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
  228. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/input.json +0 -0
  229. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
  230. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/src/assert.py +0 -0
  231. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/src/graph.py +0 -0
  232. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
  233. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
  234. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/.env.example +0 -0
  235. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/README.md +0 -0
  236. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/agent.mermaid +0 -0
  237. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/input.json +0 -0
  238. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/langgraph.json +0 -0
  239. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/src/assert.py +0 -0
  240. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
  241. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
  242. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
  243. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/uipath.json +0 -0
  244. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/simple-local-mcp/uv.lock +0 -0
  245. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/.env.example +0 -0
  246. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/README.md +0 -0
  247. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/agent.mermaid +0 -0
  248. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/input.json +0 -0
  249. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/langgraph.json +0 -0
  250. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/src/assert.py +0 -0
  251. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/src/main.py +0 -0
  252. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/uipath.json +0 -0
  253. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/testcases/ticket-classification/uv.lock +0 -0
  254. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/__init__.py +0 -0
  255. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/builder/test_config.py +0 -0
  256. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/cli/conftest.py +0 -0
  257. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/cli/mocks/langgraph.json +0 -0
  258. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/cli/mocks/simple_agent.py +0 -0
  259. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/cli/mocks/uipath.json +0 -0
  260. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/cli/test_run.py +0 -0
  261. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/__init__.py +0 -0
  262. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/conftest.py +0 -0
  263. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/action_trigger_hitl.py +0 -0
  264. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/api_trigger_hitl.py +0 -0
  265. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/job_trigger_hitl.py +0 -0
  266. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/langgraph.json +0 -0
  267. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/uipath-default-escalation.json +0 -0
  268. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/mocks/uipath.json +0 -0
  269. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/test_action_trigger.py +0 -0
  270. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/test_hitl_api_trigger.py +0 -0
  271. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/test_hitl_default_escalation.py +0 -0
  272. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/hitl/test_hitl_job_trigger.py +0 -0
  273. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/test_dummy.py +0 -0
  274. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/tracers/__init__.py +0 -0
  275. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/tracers/test_async_uipath_tracer.py +0 -0
  276. {uipath_langchain-0.0.130 → uipath_langchain-0.0.131}/tests/tracers/test_instrument_traceable.py +0 -0
@@ -0,0 +1,81 @@
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
+ strategy:
40
+ fail-fast: false
41
+ matrix:
42
+ testcase: ${{ fromJson(needs.discover-testcases.outputs.testcases) }}
43
+ environment: [alpha, cloud]
44
+ use_azure_chat: [true, false]
45
+
46
+ name: "${{ matrix.testcase }} / ${{ matrix.environment }} / ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
47
+
48
+ steps:
49
+ - name: Checkout code
50
+ uses: actions/checkout@v4
51
+
52
+ - name: Set up Docker Buildx
53
+ uses: docker/setup-buildx-action@v3
54
+
55
+ - name: Build Docker image
56
+ run: |
57
+ echo "Building Docker image for ${{ matrix.testcase }} at $(date)"
58
+ docker build -f testcases/Dockerfile \
59
+ -t uipath-langchain-testbase:latest \
60
+ .
61
+ echo "Docker image built at $(date)"
62
+
63
+ - name: Run testcase
64
+ env:
65
+ CLIENT_ID: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_ID || secrets.CLOUD_TEST_CLIENT_ID }}
66
+ CLIENT_SECRET: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_SECRET || secrets.CLOUD_TEST_CLIENT_SECRET }}
67
+ BASE_URL: ${{ matrix.environment == 'alpha' && secrets.ALPHA_BASE_URL || secrets.CLOUD_BASE_URL }}
68
+ USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}
69
+ run: |
70
+ echo "Running testcase: ${{ matrix.testcase }}"
71
+ echo "Environment: ${{ matrix.environment }}"
72
+ echo "LLM: ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
73
+ echo "USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}"
74
+
75
+ docker run --rm \
76
+ -e CLIENT_ID="$CLIENT_ID" \
77
+ -e CLIENT_SECRET="$CLIENT_SECRET" \
78
+ -e BASE_URL="$BASE_URL" \
79
+ -e USE_AZURE_CHAT="$USE_AZURE_CHAT" \
80
+ uipath-langchain-testbase:latest \
81
+ bash /app/testcases/${{ matrix.testcase }}/run.sh
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.130
3
+ Version: 0.0.131
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
@@ -25,7 +25,7 @@ Requires-Dist: openai>=1.65.5
25
25
  Requires-Dist: openinference-instrumentation-langchain>=0.1.50
26
26
  Requires-Dist: pydantic-settings>=2.6.0
27
27
  Requires-Dist: python-dotenv>=1.0.1
28
- Requires-Dist: uipath<2.2.0,>=2.1.49
28
+ Requires-Dist: uipath<2.2.0,>=2.1.54
29
29
  Provides-Extra: langchain
30
30
  Description-Content-Type: text/markdown
31
31
 
@@ -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
  ```
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "uipath-langchain"
3
- version = "0.0.130"
3
+ version = "0.0.131"
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.49, <2.2.0",
8
+ "uipath>=2.1.54, <2.2.0",
9
9
  "langgraph>=0.5.0, <0.7.0",
10
10
  "langchain-core>=0.3.34",
11
11
  "langgraph-checkpoint-sqlite>=2.0.3",
@@ -6,7 +6,6 @@ from dataclasses import dataclass
6
6
  from pprint import pprint
7
7
  from typing import Any
8
8
 
9
- from dotenv import find_dotenv, load_dotenv
10
9
  from langchain_core.language_models.chat_models import BaseChatModel
11
10
  from langchain_core.output_parsers import StrOutputParser
12
11
  from langchain_core.prompts import ChatPromptTemplate
@@ -68,7 +67,6 @@ def create_retrieval_chain(vectorstore: VectorStore, model: BaseChatModel, k: in
68
67
 
69
68
 
70
69
  async def main(input_data: MainInput):
71
- load_dotenv(find_dotenv())
72
70
 
73
71
  """Run a simple example of ContextGroundingVectorStore."""
74
72
  vectorstore = ContextGroundingVectorStore(
@@ -1,4 +1,3 @@
1
- import dotenv
2
1
  import os
3
2
  from contextlib import asynccontextmanager
4
3
  from langgraph.prebuilt import create_react_agent
@@ -7,7 +6,6 @@ from langchain_mcp_adapters.tools import load_mcp_tools
7
6
  from mcp import ClientSession
8
7
  from mcp.client.streamable_http import streamablehttp_client
9
8
 
10
- dotenv.load_dotenv()
11
9
 
12
10
  @asynccontextmanager
13
11
  async def make_graph():
@@ -1,28 +1,27 @@
1
- from langchain_anthropic import ChatAnthropic
2
1
  from langchain_core.messages import HumanMessage, SystemMessage
3
- from langchain_openai import ChatOpenAI
4
2
  from langgraph.graph import START, StateGraph, END
3
+ from uipath_langchain.chat import UiPathChat
5
4
  from pydantic import BaseModel
6
- import os
5
+
6
+ llm = UiPathChat(model="gpt-4o-mini-2024-07-18")
7
+
7
8
 
8
9
  class GraphState(BaseModel):
9
10
  topic: str
10
11
 
12
+
11
13
  class GraphOutput(BaseModel):
12
14
  report: str
13
15
 
14
- async def generate_report(state: GraphState) -> GraphOutput:
15
- if os.getenv("ANTHROPIC_API_KEY"):
16
- llm_model = ChatAnthropic(model="claude-3-5-sonnet-latest")
17
- elif os.getenv("OPENAI_API_KEY"):
18
- llm_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
19
- else:
20
- raise Exception("Missing API Key. Please define either ANTHROPIC_API_KEY or OPENAI_API_KEY.")
21
16
 
17
+ async def generate_report(state: GraphState) -> GraphOutput:
22
18
  system_prompt = "You are a report generator. Please provide a brief report based on the given topic."
23
- output = await llm_model.ainvoke([SystemMessage(system_prompt), HumanMessage(state.topic)])
19
+ output = await llm.ainvoke(
20
+ [SystemMessage(system_prompt), HumanMessage(state.topic)]
21
+ )
24
22
  return GraphOutput(report=output.content)
25
23
 
24
+
26
25
  builder = StateGraph(GraphState, output=GraphOutput)
27
26
 
28
27
  builder.add_node("generate_report", generate_report)
@@ -8,7 +8,6 @@ from dataclasses import dataclass
8
8
  from pathlib import Path
9
9
  from typing import Any, Dict, List, Optional, Union, cast
10
10
 
11
- from dotenv import load_dotenv
12
11
  from langgraph.graph import StateGraph
13
12
  from langgraph.graph.state import CompiledStateGraph
14
13
 
@@ -161,18 +160,6 @@ class LangGraphConfig:
161
160
  f"Missing required fields in langgraph.json: {missing_fields}"
162
161
  )
163
162
 
164
- if env_file := config.get("env"):
165
- env_path = os.path.abspath(os.path.normpath(env_file))
166
- if os.path.exists(env_path):
167
- if not load_dotenv(env_path):
168
- # log warning only if dotenv is not empty
169
- if os.path.getsize(env_path) > 0:
170
- logger.warning(
171
- f"Could not load environment variables from {env_path}"
172
- )
173
- else:
174
- logger.debug(f"Loaded environment variables from {env_path}")
175
-
176
163
  self._config = config
177
164
  self._load_graphs()
178
165
  return config
@@ -54,9 +54,6 @@ def langgraph_new_middleware(name: str) -> MiddlewareResult:
54
54
  console.success("Created 'langgraph.json' file.")
55
55
  generate_pyproject(directory, name)
56
56
  console.success("Created 'pyproject.toml' file.")
57
- console.config(
58
- f""" Please ensure to define either {click.style("ANTHROPIC_API_KEY", fg="bright_yellow")} or {click.style("OPENAI_API_KEY", fg="bright_yellow")} in your .env file. """
59
- )
60
57
  init_command = """uipath init"""
61
58
  run_command = """uipath run agent '{"topic": "UiPath"}'"""
62
59
  console.hint(
@@ -0,0 +1,23 @@
1
+ #!/bin/bash
2
+
3
+ # Common utility to print UiPath output file
4
+ # Usage: source /app/testcases/common/print_output.sh
5
+
6
+ print_uipath_output() {
7
+ echo "Printing output file..."
8
+ if [ -f "__uipath/output.json" ]; then
9
+ echo "=== OUTPUT FILE CONTENT ==="
10
+ cat __uipath/output.json
11
+ echo "=== END OUTPUT FILE CONTENT ==="
12
+ else
13
+ echo "ERROR: __uipath/output.json not found!"
14
+ echo "Checking directory contents:"
15
+ ls -la
16
+ if [ -d "__uipath" ]; then
17
+ echo "Contents of __uipath directory:"
18
+ ls -la __uipath/
19
+ else
20
+ echo "__uipath directory does not exist!"
21
+ fi
22
+ fi
23
+ }
@@ -9,7 +9,6 @@ dependencies = [
9
9
  "langgraph>=0.2.55",
10
10
  "langchain-anthropic>=0.3.8",
11
11
  "tavily-python>=0.5.0",
12
- "uipath>=2.0.79",
13
12
  "uipath-langchain",
14
13
  "duckduckgo-search>=8.1.1",
15
14
  "langchain-community>=0.3.21",
@@ -1,44 +1,28 @@
1
1
  #!/bin/bash
2
-
3
- # Authenticate with UiPath
4
- echo "Authenticating with UiPath..."
5
- uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
6
-
7
2
  cd /app/testcases/company-research-agent
8
3
 
9
4
  # Sync dependencies for this specific testcase
10
5
  echo "Syncing dependencies..."
11
6
  uv sync
12
7
 
8
+ # Authenticate with UiPath
9
+ echo "Authenticating with UiPath..."
10
+ uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
11
+
13
12
  # Pack the agent
14
13
  echo "Packing agent..."
15
14
  uv run uipath pack
16
15
 
17
16
  # Run the agent
18
- echo "Running agent with $CHAT_MODE mode..."
19
17
  echo "Input from input.json file"
20
18
  uv run uipath run agent --file input.json
21
19
 
22
20
  # Print the output file
23
- echo "Printing output file..."
24
- if [ -f "__uipath/output.json" ]; then
25
- echo "=== OUTPUT FILE CONTENT ==="
26
- cat __uipath/output.json
27
- echo "=== END OUTPUT FILE CONTENT ==="
28
- else
29
- echo "ERROR: __uipath/output.json not found!"
30
- echo "Checking directory contents:"
31
- ls -la
32
- if [ -d "__uipath" ]; then
33
- echo "Contents of __uipath directory:"
34
- ls -la __uipath/
35
- else
36
- echo "__uipath directory does not exist!"
37
- fi
38
- fi
21
+ source /app/testcases/common/print_output.sh
22
+ print_uipath_output
39
23
 
40
24
  # Validate output
41
25
  echo "Validating output..."
42
- python src/assert.py
26
+ python src/assert.py || { echo "Validation failed!"; exit 1; }
43
27
 
44
28
  echo "Testcase completed successfully."
@@ -11,7 +11,6 @@ dependencies = [
11
11
  "tavily-python>=0.5.0",
12
12
  "uipath-langchain",
13
13
  "duckduckgo-search>=8.0.0",
14
- "uipath>=2.0.82",
15
14
  ]
16
15
 
17
16
  [project.optional-dependencies]
@@ -0,0 +1,29 @@
1
+ #!/bin/bash
2
+ cd /app/testcases/multi-agent-supervisor-researcher-coder
3
+
4
+ # Sync dependencies for this specific testcase
5
+ echo "Syncing dependencies..."
6
+ uv sync
7
+
8
+ # Authenticate with UiPath
9
+ echo "Authenticating with UiPath..."
10
+ uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
11
+
12
+ # Pack the agent
13
+ echo "Packing agent..."
14
+ uv run uipath pack
15
+
16
+ # Run the agent
17
+ echo "Input from input.json file"
18
+ uv run uipath run agent --file input.json
19
+
20
+ # Print the output file
21
+ source /app/testcases/common/print_output.sh
22
+ print_uipath_output
23
+
24
+ # Validate output
25
+ echo "Validating output..."
26
+ python src/assert.py || { echo "Validation failed!"; exit 1; }
27
+
28
+
29
+ echo "Testcase completed successfully."
@@ -16,7 +16,6 @@ dependencies = [
16
16
  "langchain-mcp-adapters>=0.1.0",
17
17
  "ipython>=8.32.0",
18
18
  "mcp>=1.4.1",
19
- "uipath>=2.0.80",
20
19
  ]
21
20
  requires-python = ">=3.10"
22
21
 
@@ -1,45 +1,28 @@
1
1
  #!/bin/bash
2
-
3
- # Authenticate with UiPath
4
- echo "Authenticating with UiPath..."
5
- uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
6
-
7
2
  cd /app/testcases/simple-local-mcp
8
3
 
9
4
  # Sync dependencies for this specific testcase
10
5
  echo "Syncing dependencies..."
11
6
  uv sync
12
7
 
8
+ # Authenticate with UiPath
9
+ echo "Authenticating with UiPath..."
10
+ uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
11
+
13
12
  # Pack the agent
14
13
  echo "Packing agent..."
15
14
  uv run uipath pack
16
15
 
17
16
  # Run the agent
18
- echo "Running agent with $CHAT_MODE mode..."
19
17
  echo "Input from input.json file"
20
18
  uv run uipath run agent --file input.json
21
19
 
22
20
  # Print the output file
23
- echo "Printing output file..."
24
- if [ -f "__uipath/output.json" ]; then
25
- echo "=== OUTPUT FILE CONTENT ==="
26
- cat __uipath/output.json
27
- echo "=== END OUTPUT FILE CONTENT ==="
28
- else
29
- echo "ERROR: __uipath/output.json not found!"
30
- echo "Checking directory contents:"
31
- ls -la
32
- if [ -d "__uipath" ]; then
33
- echo "Contents of __uipath directory:"
34
- ls -la __uipath/
35
- else
36
- echo "__uipath directory does not exist!"
37
- fi
38
- fi
39
-
21
+ source /app/testcases/common/print_output.sh
22
+ print_uipath_output
40
23
 
41
24
  # Validate output
42
25
  echo "Validating output..."
43
- python src/assert.py
26
+ python src/assert.py || { echo "Validation failed!"; exit 1; }
44
27
 
45
28
  echo "Testcase completed successfully."
@@ -9,7 +9,6 @@ dependencies = [
9
9
  "langchain-openai>=0.3.9",
10
10
  "langgraph-checkpoint-sqlite>=2.0.3",
11
11
  "python-dotenv>=1.0.1",
12
- "uipath>=2.0.79",
13
12
  "uipath-langchain",
14
13
  "pydantic>=2.10.6",
15
14
  "aiohttp>=3.11.12",
@@ -1,15 +1,15 @@
1
1
  #!/bin/bash
2
2
 
3
- # Authenticate with UiPath
4
- echo "Authenticating with UiPath..."
5
- uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
6
-
7
3
  cd /app/testcases/ticket-classification
8
4
 
9
5
  # Sync dependencies for this specific testcase
10
6
  echo "Syncing dependencies..."
11
7
  uv sync
12
8
 
9
+ # Authenticate with UiPath
10
+ echo "Authenticating with UiPath..."
11
+ uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
12
+
13
13
  # Pack the agent
14
14
  echo "Packing agent..."
15
15
  uv run uipath pack
@@ -24,25 +24,11 @@ uv run uipath run agent '{"Answer": true}' --resume;
24
24
 
25
25
 
26
26
  # Print the output file
27
- echo "Printing output file..."
28
- if [ -f "__uipath/output.json" ]; then
29
- echo "=== OUTPUT FILE CONTENT ==="
30
- cat __uipath/output.json
31
- echo "=== END OUTPUT FILE CONTENT ==="
32
- else
33
- echo "ERROR: __uipath/output.json not found!"
34
- echo "Checking directory contents:"
35
- ls -la
36
- if [ -d "__uipath" ]; then
37
- echo "Contents of __uipath directory:"
38
- ls -la __uipath/
39
- else
40
- echo "__uipath directory does not exist!"
41
- fi
42
- fi
27
+ source /app/testcases/common/print_output.sh
28
+ print_uipath_output
43
29
 
44
30
  # Validate output
45
31
  echo "Validating output..."
46
- python src/assert.py
32
+ python src/assert.py || { echo "Validation failed!"; exit 1; }
47
33
 
48
34
  echo "Testcase completed successfully."
@@ -2746,7 +2746,7 @@ wheels = [
2746
2746
 
2747
2747
  [[package]]
2748
2748
  name = "uipath"
2749
- version = "2.1.49"
2749
+ version = "2.1.54"
2750
2750
  source = { registry = "https://pypi.org/simple" }
2751
2751
  dependencies = [
2752
2752
  { name = "azure-monitor-opentelemetry" },
@@ -2764,14 +2764,14 @@ dependencies = [
2764
2764
  { name = "tomli" },
2765
2765
  { name = "truststore" },
2766
2766
  ]
2767
- sdist = { url = "https://files.pythonhosted.org/packages/fe/98/eaa8666dc8c6fe05ca69926fbabf4644a433b0b3be6925047d0b39fbe24d/uipath-2.1.49.tar.gz", hash = "sha256:8c2633932075d04df5e7297e7a3830e4f973e01d301f553d4f451ca0a45d56d6", size = 1987699, upload-time = "2025-09-16T05:31:24.843Z" }
2767
+ sdist = { url = "https://files.pythonhosted.org/packages/e8/4f/5e34bde81c3ccd98a937101c4cd069901cb9f0158b53dea0f58bd4f908ec/uipath-2.1.54.tar.gz", hash = "sha256:bc3bedea41fa4517495eba6a14a6e794d8e93740ee1dd229f417ee0e325c367c", size = 2001743, upload-time = "2025-09-17T16:19:18.598Z" }
2768
2768
  wheels = [
2769
- { url = "https://files.pythonhosted.org/packages/07/02/5672c40b4e298d02ec06c5d24a66e58c4d6f4484c654a8fdf56b7c3f389d/uipath-2.1.49-py3-none-any.whl", hash = "sha256:ec4a8f9400f48d5c3b7707a1f23a521a2edaf1e5c8ca0c5da47ac910ab7b3a2b", size = 215197, upload-time = "2025-09-16T05:31:23.031Z" },
2769
+ { url = "https://files.pythonhosted.org/packages/94/ce/dc6c7e8b20474761ec17c7e8fcfd3619880c921bcfbe3df3d1f6890c71d6/uipath-2.1.54-py3-none-any.whl", hash = "sha256:379105de535f1c3922794fb14574790aa7c1b4b63256ebcff7d28f486ef34df3", size = 228190, upload-time = "2025-09-17T16:19:16.753Z" },
2770
2770
  ]
2771
2771
 
2772
2772
  [[package]]
2773
2773
  name = "uipath-langchain"
2774
- version = "0.0.130"
2774
+ version = "0.0.131"
2775
2775
  source = { editable = "." }
2776
2776
  dependencies = [
2777
2777
  { name = "httpx" },
@@ -2815,7 +2815,7 @@ requires-dist = [
2815
2815
  { name = "openinference-instrumentation-langchain", specifier = ">=0.1.50" },
2816
2816
  { name = "pydantic-settings", specifier = ">=2.6.0" },
2817
2817
  { name = "python-dotenv", specifier = ">=1.0.1" },
2818
- { name = "uipath", specifier = ">=2.1.49,<2.2.0" },
2818
+ { name = "uipath", specifier = ">=2.1.54,<2.2.0" },
2819
2819
  { name = "uipath-langchain", marker = "extra == 'langchain'", specifier = ">=0.0.2" },
2820
2820
  ]
2821
2821
  provides-extras = ["langchain"]