uipath-langchain 0.0.110__tar.gz → 0.0.111__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 (204) hide show
  1. uipath_langchain-0.0.111/.github/workflows/cd.yml +80 -0
  2. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.github/workflows/ci.yml +5 -6
  3. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.github/workflows/commitlint.yml +6 -2
  4. uipath_langchain-0.0.111/.github/workflows/lint-custom-version.yml +92 -0
  5. uipath_langchain-0.0.111/.github/workflows/lint.yml +53 -0
  6. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.github/workflows/publish-dev.yml +172 -123
  7. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.github/workflows/publish-docs.yml +4 -0
  8. uipath_langchain-0.0.111/.github/workflows/publish-prior-stable-version.yml +107 -0
  9. uipath_langchain-0.0.111/.github/workflows/test-custom-version.yml +102 -0
  10. uipath_langchain-0.0.111/.github/workflows/test.yml +59 -0
  11. uipath_langchain-0.0.111/.python-version +1 -0
  12. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/PKG-INFO +2 -2
  13. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/context_grounding.md +1 -1
  14. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/pyproject.toml +8 -3
  15. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/pyproject.toml +1 -1
  16. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +4 -6
  17. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/uipath.json +11 -41
  18. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/uv.lock +653 -54
  19. uipath_langchain-0.0.111/samples/simple-remote-mcp/main.py +25 -0
  20. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/pyproject.toml +6 -7
  21. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/uv.lock +683 -91
  22. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/README.md +1 -1
  23. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/main.py +1 -1
  24. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/uipath.json +3 -12
  25. uipath_langchain-0.0.111/src/uipath_langchain/_cli/_runtime/_input.py +136 -0
  26. uipath_langchain-0.0.111/src/uipath_langchain/_cli/_runtime/_output.py +234 -0
  27. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_runtime/_runtime.py +107 -39
  28. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/cli_run.py +6 -3
  29. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_utils/_settings.py +6 -2
  30. uipath_langchain-0.0.111/tests/hitl/__init__.py +1 -0
  31. uipath_langchain-0.0.111/tests/hitl/conftest.py +65 -0
  32. uipath_langchain-0.0.111/tests/hitl/mocks/action_trigger_hitl.py +72 -0
  33. uipath_langchain-0.0.111/tests/hitl/mocks/api_trigger_hitl.py +33 -0
  34. uipath_langchain-0.0.111/tests/hitl/mocks/job_trigger_hitl.py +62 -0
  35. uipath_langchain-0.0.111/tests/hitl/mocks/langgraph.json +7 -0
  36. uipath_langchain-0.0.111/tests/hitl/mocks/uipath-default-escalation.json +30 -0
  37. uipath_langchain-0.0.111/tests/hitl/mocks/uipath.json +20 -0
  38. uipath_langchain-0.0.111/tests/hitl/test_action_trigger.py +193 -0
  39. uipath_langchain-0.0.111/tests/hitl/test_hitl_api_trigger.py +89 -0
  40. uipath_langchain-0.0.111/tests/hitl/test_hitl_default_escalation.py +143 -0
  41. uipath_langchain-0.0.111/tests/hitl/test_hitl_job_trigger.py +159 -0
  42. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/uv.lock +1539 -1522
  43. uipath_langchain-0.0.110/.github/workflows/build.yml +0 -46
  44. uipath_langchain-0.0.110/.github/workflows/cd.yml +0 -15
  45. uipath_langchain-0.0.110/.github/workflows/lint.yml +0 -36
  46. uipath_langchain-0.0.110/.github/workflows/test.yml +0 -38
  47. uipath_langchain-0.0.110/.python-version +0 -1
  48. uipath_langchain-0.0.110/samples/simple-remote-mcp/main.py +0 -27
  49. uipath_langchain-0.0.110/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -245
  50. uipath_langchain-0.0.110/src/uipath_langchain/_cli/_runtime/_input.py +0 -153
  51. uipath_langchain-0.0.110/src/uipath_langchain/_cli/_runtime/_output.py +0 -374
  52. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.cursorrules +0 -0
  53. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.editorconfig +0 -0
  54. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.gitattributes +0 -0
  55. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.github/workflows/slack.yml +0 -0
  56. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.gitignore +0 -0
  57. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.pre-commit-config.yaml +0 -0
  58. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.vscode/extensions.json +0 -0
  59. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/.vscode/settings.json +0 -0
  60. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/CONTRIBUTING.md +0 -0
  61. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/LICENSE +0 -0
  62. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/README.md +0 -0
  63. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/chat_models.md +0 -0
  64. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/human_in_the_loop.md +0 -0
  65. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/quick_start.md +0 -0
  66. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/quick_start_images/cloud_env_var_dark.png +0 -0
  67. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/quick_start_images/cloud_env_var_light.png +0 -0
  68. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/quick_start_images/invoke_output_dark.png +0 -0
  69. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/quick_start_images/invoke_output_light.png +0 -0
  70. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/click-storage-bucket.png +0 -0
  71. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-index-1.png +0 -0
  72. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-index-2.png +0 -0
  73. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-process.png +0 -0
  74. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-quiz-generator.png +0 -0
  75. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-storage-bucket-1.png +0 -0
  76. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/create-storage-bucket-2.png +0 -0
  77. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/folder-path.png +0 -0
  78. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/job-info.png +0 -0
  79. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/output.png +0 -0
  80. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/process-page.png +0 -0
  81. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/researcher-1.png +0 -0
  82. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/researcher-2.png +0 -0
  83. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/run-process-1.png +0 -0
  84. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/run-process-2.png +0 -0
  85. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/RAG/storage-bucket-content.png +0 -0
  86. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
  87. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
  88. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
  89. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
  90. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
  91. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
  92. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
  93. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
  94. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
  95. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
  96. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
  97. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
  98. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
  99. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
  100. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/run-agent.png +0 -0
  101. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
  102. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/start-job.png +0 -0
  103. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
  104. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/README.md +0 -0
  105. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/env.example +0 -0
  106. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/input.example/quiz-generator-debug-input.json +0 -0
  107. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/input.example/researcher-debug-input.json +0 -0
  108. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/langgraph.json +0 -0
  109. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/pyproject.toml +0 -0
  110. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/quiz-generator-RAG-agent.mermaid +0 -0
  111. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/researcher-RAG-agent.mermaid +0 -0
  112. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/src/agents/quiz-generator-RAG-agent.py +0 -0
  113. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/src/agents/researcher-RAG-agent.py +0 -0
  114. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/uipath.json +0 -0
  115. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/RAG-quiz-generator/uv.lock +0 -0
  116. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/README.md +0 -0
  117. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/.env.example +0 -0
  118. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/agent.mermaid +0 -0
  119. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/graph.py +0 -0
  120. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/langgraph.json +0 -0
  121. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/pyproject.toml +0 -0
  122. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/uipath.json +0 -0
  123. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/company-research-agent/uv.lock +0 -0
  124. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/database.py +0 -0
  125. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/main.py +0 -0
  126. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/models.py +0 -0
  127. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/pyproject.toml +0 -0
  128. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/schemas.py +0 -0
  129. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/templates/index.html +0 -0
  130. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/hitl-inbox-server/uv.lock +0 -0
  131. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
  132. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -0
  133. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
  134. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
  135. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
  136. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +0 -0
  137. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
  138. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
  139. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
  140. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
  141. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
  142. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
  143. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
  144. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
  145. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
  146. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
  147. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
  148. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -0
  149. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
  150. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
  151. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/retrieval-chain/.env.example +0 -0
  152. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/retrieval-chain/README.md +0 -0
  153. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/retrieval-chain/main.py +0 -0
  154. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/retrieval-chain/pyproject.toml +0 -0
  155. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/retrieval-chain/uv.lock +0 -0
  156. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/.env.example +0 -0
  157. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/README.md +0 -0
  158. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/agent.mermaid +0 -0
  159. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/langgraph.json +0 -0
  160. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
  161. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
  162. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/.env.example +0 -0
  163. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/README.md +0 -0
  164. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/agent.mermaid +0 -0
  165. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/langgraph.json +0 -0
  166. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/simple-remote-mcp/uipath.json +0 -0
  167. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/.env.example +0 -0
  168. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/agent.mermaid +2 -2
  169. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
  170. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/langgraph.json +0 -0
  171. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/pyproject.toml +0 -0
  172. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/samples/ticket-classification/uv.lock +0 -0
  173. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/__init__.py +0 -0
  174. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/__init__.py +0 -0
  175. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
  176. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
  177. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
  178. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_templates/main.py.template +0 -0
  179. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
  180. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/cli_init.py +0 -0
  181. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_cli/cli_new.py +0 -0
  182. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_utils/__init__.py +0 -0
  183. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
  184. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
  185. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/chat/__init__.py +0 -0
  186. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/chat/models.py +0 -0
  187. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/embeddings/__init__.py +0 -0
  188. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/embeddings/embeddings.py +0 -0
  189. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/middlewares.py +0 -0
  190. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/retrievers/__init__.py +0 -0
  191. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
  192. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
  193. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/tracers/__init__.py +0 -0
  194. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/tracers/_events.py +0 -0
  195. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
  196. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/tracers/_utils.py +0 -0
  197. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/vectorstores/__init__.py +0 -0
  198. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
  199. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/__init__.py +0 -0
  200. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/test_dummy.py +0 -0
  201. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/test_langchain_client.py +0 -0
  202. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/tracers/__init__.py +0 -0
  203. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/tracers/test_async_uipath_tracer.py +0 -0
  204. {uipath_langchain-0.0.110 → uipath_langchain-0.0.111}/tests/tracers/test_instrument_traceable.py +0 -0
@@ -0,0 +1,80 @@
1
+ name: CD
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
+ paths:
9
+ - pyproject.toml
10
+
11
+ jobs:
12
+ lint:
13
+ uses: ./.github/workflows/lint.yml
14
+
15
+ test:
16
+ uses: ./.github/workflows/test.yml
17
+ secrets:
18
+ UIPATH_URL: ${{ secrets.UIPATH_URL }}
19
+ UIPATH_CLIENT_ID: ${{ secrets.UIPATH_CLIENT_ID }}
20
+ UIPATH_CLIENT_SECRET: ${{ secrets.UIPATH_CLIENT_SECRET }}
21
+
22
+ build:
23
+ name: Build
24
+ runs-on: ubuntu-latest
25
+
26
+ needs:
27
+ - lint
28
+ - test
29
+
30
+ if: ${{ github.repository == 'UiPath/uipath-langchain-python' }}
31
+ permissions:
32
+ contents: read
33
+ actions: write
34
+
35
+ steps:
36
+ - name: Checkout
37
+ uses: actions/checkout@v4
38
+
39
+ - name: Setup uv
40
+ uses: astral-sh/setup-uv@v5
41
+ with:
42
+ enable-cache: true
43
+
44
+ - name: Setup Python
45
+ uses: actions/setup-python@v5
46
+ with:
47
+ python-version-file: ".python-version"
48
+
49
+ - name: Install dependencies
50
+ run: uv sync --all-extras
51
+
52
+ - name: Build
53
+ run: uv build
54
+
55
+ - name: Upload artifacts
56
+ uses: actions/upload-artifact@v4
57
+ with:
58
+ name: release-dists
59
+ path: dist/
60
+
61
+ pypi-publish:
62
+ name: Upload release to PyPI
63
+ runs-on: ubuntu-latest
64
+ environment: pypi
65
+
66
+ needs:
67
+ - build
68
+ permissions:
69
+ contents: read
70
+ id-token: write
71
+
72
+ steps:
73
+ - name: Retrieve release distributions
74
+ uses: actions/download-artifact@v4
75
+ with:
76
+ name: release-dists
77
+ path: dist/
78
+
79
+ - name: Publish package distributions to PyPI
80
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -4,18 +4,17 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
- pull_request_target:
8
- types:
9
- - opened
10
- - synchronize
7
+ paths-ignore:
8
+ - pyproject.toml
9
+ pull_request:
11
10
  branches:
12
11
  - main
13
12
 
14
-
15
13
  jobs:
16
14
  commit-lint:
17
- if: ${{ github.event_name == 'pull_request_target' }}
15
+ if: ${{ github.event_name == 'pull_request' }}
18
16
  uses: ./.github/workflows/commitlint.yml
17
+
19
18
  lint:
20
19
  uses: ./.github/workflows/lint.yml
21
20
 
@@ -7,13 +7,17 @@ jobs:
7
7
  commitlint:
8
8
  name: Commit Lint
9
9
  runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
10
12
 
11
13
  steps:
12
- - uses: actions/checkout@v3
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
13
16
  with:
14
17
  fetch-depth: 0
15
18
 
16
- - uses: actions/setup-node@v3
19
+ - name: Setup Node
20
+ uses: actions/setup-node@v3
17
21
  with:
18
22
  node-version: 22
19
23
 
@@ -0,0 +1,92 @@
1
+ name: Lint Custom Version
2
+
3
+ on:
4
+ workflow_call:
5
+ pull_request:
6
+ types: [opened, synchronize, labeled, unlabeled]
7
+
8
+ jobs:
9
+ lint-with-custom-version:
10
+ name: Lint with Custom UiPath Version
11
+ runs-on: ubuntu-latest
12
+ if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
13
+ permissions:
14
+ contents: read
15
+ pull-requests: read
16
+
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Extract version from PR
22
+ id: extract-version
23
+ shell: bash
24
+ run: |
25
+ # Extract version from PR title only
26
+ PR_TITLE="${{ github.event.pull_request.title }}"
27
+
28
+ # Search for version pattern in title (any x.y.z.dev version)
29
+ VERSION=$(echo "$PR_TITLE" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.dev[0-9]+' | head -1)
30
+
31
+ if [ -z "$VERSION" ]; then
32
+ echo "No version found in PR title. Please include version in title like: 2.0.65.dev1004030443"
33
+ exit 1
34
+ fi
35
+
36
+ echo "Extracted version: $VERSION"
37
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
38
+
39
+ - name: Setup uv
40
+ uses: astral-sh/setup-uv@v5
41
+ with:
42
+ enable-cache: true
43
+
44
+ - name: Setup Python
45
+ uses: actions/setup-python@v5
46
+ with:
47
+ python-version-file: ".python-version"
48
+
49
+ - name: Modify pyproject.toml for custom UiPath version
50
+ shell: bash
51
+ run: |
52
+ # Backup original pyproject.toml
53
+ cp pyproject.toml pyproject.toml.backup
54
+
55
+ # Update the uipath dependency to the custom version
56
+ sed -i 's|"uipath>=.*"|"uipath==${{ steps.extract-version.outputs.version }}"|' pyproject.toml
57
+
58
+
59
+
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
71
+
72
+ echo "Modified pyproject.toml to use UiPath version ${{ steps.extract-version.outputs.version }} from testpypi"
73
+ echo "=== Modified pyproject.toml content ==="
74
+ grep -A5 -B5 "uipath\|testpypi" pyproject.toml || true
75
+
76
+ - name: Install dependencies
77
+ run: uv sync --all-extras
78
+
79
+ - name: Check static types
80
+ run: uv run mypy --config-file pyproject.toml .
81
+
82
+ - name: Check linting
83
+ run: uv run ruff check .
84
+
85
+ - name: Check formatting
86
+ run: uv run ruff format --check .
87
+
88
+ - name: Restore original pyproject.toml
89
+ if: always()
90
+ shell: bash
91
+ run: |
92
+ mv pyproject.toml.backup pyproject.toml
@@ -0,0 +1,53 @@
1
+ name: Lint
2
+
3
+ on:
4
+ workflow_call
5
+
6
+ jobs:
7
+ # Job that runs when custom version testing is enabled - just completes successfully
8
+ skip-lint:
9
+ name: Skip Lint (Custom Version Testing)
10
+ runs-on: ubuntu-latest
11
+ if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
12
+ permissions:
13
+ contents: read
14
+ steps:
15
+ - name: Skip lint for custom version testing
16
+ run: |
17
+ echo "Custom version testing enabled - skipping normal lint process"
18
+ echo "This job completes successfully to allow PR merging"
19
+
20
+ # Job that runs normal lint process when custom version testing is NOT enabled
21
+ lint:
22
+ name: Lint
23
+ runs-on: ubuntu-latest
24
+ if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')"
25
+ permissions:
26
+ contents: read
27
+
28
+ steps:
29
+ - name: Checkout
30
+ uses: actions/checkout@v4
31
+
32
+ - name: Setup uv
33
+ uses: astral-sh/setup-uv@v5
34
+ with:
35
+ enable-cache: true
36
+
37
+ - name: Setup Python
38
+ uses: actions/setup-python@v5
39
+ with:
40
+ python-version-file: ".python-version"
41
+
42
+ - name: Install dependencies
43
+ run: uv sync --all-extras
44
+
45
+ - name: Check static types
46
+ run: uv run mypy --config-file pyproject.toml .
47
+
48
+ - name: Check linting
49
+ run: uv run ruff check .
50
+
51
+ - name: Check formatting
52
+ run: uv run ruff format --check .
53
+
@@ -1,123 +1,172 @@
1
- name: Publish Dev Build
2
-
3
- on:
4
- pull_request:
5
- types: [opened, synchronize, reopened, labeled]
6
- secrets:
7
- PYPI_TOKEN_NIGHTLY:
8
- required: true
9
-
10
-
11
- jobs:
12
- publish-dev:
13
- runs-on: ubuntu-latest
14
-
15
- # Only run if PR has the build:dev label
16
- if: contains(github.event.pull_request.labels.*.name, 'build:dev')
17
-
18
- steps:
19
- - uses: actions/checkout@v4
20
-
21
- - uses: astral-sh/setup-uv@v5
22
-
23
- - uses: actions/setup-python@v5
24
- with:
25
- python-version-file: ".python-version"
26
-
27
- - name: Setup venv
28
- run: |
29
- uv venv
30
- uv sync --all-extras
31
-
32
- - name: Set development version
33
- shell: pwsh
34
- env:
35
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
- run: |
37
- $pyprojcontent = Get-Content pyproject.toml -Raw
38
-
39
- $PROJECT_NAME = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?name\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
40
- $CURRENT_VERSION = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?version\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
41
- $NIGHTLY_NAME = "$PROJECT_NAME-nightly"
42
-
43
-
44
- # Get PR number and run number with proper padding
45
- $PR_NUM = [int]"${{ github.event.pull_request.number }}"
46
- $PADDED_PR = "{0:D5}" -f [int]"${{ github.event.pull_request.number }}"
47
- $PADDED_RUN = "{0:D4}" -f [int]"${{ github.run_number }}"
48
- $PADDED_NEXT_PR = "{0:D5}" -f ($PR_NUM + 1)
49
-
50
- # Create version range strings for PR
51
- $MIN_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR" + "0000"
52
- $MAX_VERSION = "$CURRENT_VERSION.dev1$PADDED_NEXT_PR" + "0000"
53
-
54
- # Create unique dev version with PR number and run ID
55
- $DEV_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR$PADDED_RUN"
56
-
57
- # Update version in pyproject.toml
58
- (Get-Content pyproject.toml) -replace "version = `"$CURRENT_VERSION`"", "version = `"$DEV_VERSION`"" | Set-Content pyproject.toml
59
-
60
- # Update project name in pyproject.toml
61
- (Get-Content pyproject.toml) -replace "name = `"$PROJECT_NAME`"", "name = `"$NIGHTLY_NAME`"" | Set-Content pyproject.toml
62
-
63
-
64
- Write-Output "Package version set to $DEV_VERSION"
65
-
66
- $dependencyMessage = @"
67
- ## Development Package
68
-
69
- - Add this package as a dependency in your pyproject.toml:
70
-
71
- ``````toml
72
- [project]
73
- dependencies = [
74
- # Exact version:
75
- "$NIGHTLY_NAME==$DEV_VERSION",
76
-
77
- # Any version from PR
78
- "$NIGHTLY_NAME>=$MIN_VERSION,<$MAX_VERSION"
79
- ]
80
- ``````
81
- "@
82
-
83
- # Get the owner and repo from the GitHub repository
84
- $owner = "${{ github.repository_owner }}"
85
- $repo = "${{ github.repository }}".Split('/')[1]
86
- $prNumber = $PR_NUM
87
-
88
- # Get the current PR description
89
- $prUri = "https://api.github.com/repos/$owner/$repo/pulls/$prNumber"
90
- $headers = @{
91
- Authorization = "token $env:GITHUB_TOKEN"
92
- Accept = "application/vnd.github.v3+json"
93
- }
94
-
95
- $pr = Invoke-RestMethod -Uri $prUri -Method Get -Headers $headers
96
- $currentBody = $pr.body
97
-
98
- # Check if there's already a development package section
99
- if ($currentBody -match '## Development Package') {
100
- # Replace the existing section with the new dependency message
101
- $newBody = $currentBody -replace '## Development Package(\r?\n|.)*?(?=##|$)', $dependencyMessage
102
- } else {
103
- # Append the dependency message to the end of the description
104
- $newBody = if ($currentBody) { "$currentBody`n`n$dependencyMessage" } else { $dependencyMessage }
105
- }
106
-
107
- # Update the PR description
108
- $updateBody = @{
109
- body = $newBody
110
- } | ConvertTo-Json
111
-
112
- Invoke-RestMethod -Uri $prUri -Method Patch -Headers $headers -Body $updateBody -ContentType "application/json"
113
-
114
- Write-Output "Updated PR description with development package information"
115
-
116
- - name: Build package
117
- run: uv build
118
-
119
- - name: Publish
120
- run: |
121
- uv publish
122
- env:
123
- UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN_NIGHTLY }}
1
+ name: Publish Dev Build
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened, labeled]
6
+ secrets:
7
+ PYPI_TOKEN_NIGHTLY:
8
+ required: true
9
+
10
+
11
+ jobs:
12
+ publish-dev:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+ pull-requests: write
17
+
18
+ # Only run if PR has the build:dev label
19
+ if: contains(github.event.pull_request.labels.*.name, 'build:dev')
20
+
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+
25
+ - name: Setup uv
26
+ uses: astral-sh/setup-uv@v5
27
+ with:
28
+ enable-cache: true
29
+
30
+ - name: Setup Python
31
+ uses: actions/setup-python@v5
32
+ with:
33
+ python-version-file: ".python-version"
34
+
35
+ - name: Modify pyproject.toml for custom UiPath version
36
+ if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
37
+ shell: bash
38
+ 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"
48
+ exit 1
49
+ fi
50
+
51
+ echo "Extracted version: $VERSION"
52
+
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
57
+
58
+
59
+
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
71
+
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
75
+
76
+ - name: Install dependencies
77
+ run: uv sync --all-extras
78
+
79
+ - name: Set development version
80
+ shell: pwsh
81
+ env:
82
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83
+ run: |
84
+ $pyprojcontent = Get-Content pyproject.toml -Raw
85
+
86
+ $PROJECT_NAME = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?name\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
87
+ $CURRENT_VERSION = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?version\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
88
+
89
+ # Get PR number and run number with proper padding
90
+ $PR_NUM = [int]"${{ github.event.pull_request.number }}"
91
+ $PADDED_PR = "{0:D5}" -f [int]"${{ github.event.pull_request.number }}"
92
+ $PADDED_RUN = "{0:D4}" -f [int]"${{ github.run_number }}"
93
+ $PADDED_NEXT_PR = "{0:D5}" -f ($PR_NUM + 1)
94
+
95
+ # Create version range strings for PR
96
+ $MIN_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR" + "0000"
97
+ $MAX_VERSION = "$CURRENT_VERSION.dev1$PADDED_NEXT_PR" + "0000"
98
+
99
+ # Create unique dev version with PR number and run ID
100
+ $DEV_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR$PADDED_RUN"
101
+
102
+ # Update version in pyproject.toml
103
+ (Get-Content pyproject.toml) -replace "version = `"$CURRENT_VERSION`"", "version = `"$DEV_VERSION`"" | Set-Content pyproject.toml
104
+
105
+ Write-Output "Package version set to $DEV_VERSION"
106
+
107
+ $dependencyMessage = @"
108
+ ## Development Package
109
+
110
+ - Add this package as a dependency in your pyproject.toml:
111
+
112
+ ``````toml
113
+ [project]
114
+ dependencies = [
115
+ # Exact version:
116
+ "$PROJECT_NAME==$DEV_VERSION",
117
+
118
+ # Any version from PR
119
+ "$PROJECT_NAME>=$MIN_VERSION,<$MAX_VERSION"
120
+ ]
121
+
122
+ [[tool.uv.index]]
123
+ name = "testpypi"
124
+ url = "https://test.pypi.org/simple/"
125
+ publish-url = "https://test.pypi.org/legacy/"
126
+ explicit = true
127
+
128
+ [tool.uv.sources]
129
+ $PROJECT_NAME = { index = "testpypi" }
130
+ ``````
131
+ "@
132
+
133
+ # Get the owner and repo from the GitHub repository
134
+ $owner = "${{ github.repository_owner }}"
135
+ $repo = "${{ github.repository }}".Split('/')[1]
136
+ $prNumber = $PR_NUM
137
+
138
+ # Get the current PR description
139
+ $prUri = "https://api.github.com/repos/$owner/$repo/pulls/$prNumber"
140
+ $headers = @{
141
+ Authorization = "token $env:GITHUB_TOKEN"
142
+ Accept = "application/vnd.github.v3+json"
143
+ }
144
+
145
+ $pr = Invoke-RestMethod -Uri $prUri -Method Get -Headers $headers
146
+ $currentBody = $pr.body
147
+
148
+ # Check if there's already a development package section
149
+ if ($currentBody -match '## Development Package') {
150
+ # Replace the existing section with the new dependency message
151
+ $newBody = $currentBody -replace '## Development Package(\r?\n|.)*?(?=##|$)', $dependencyMessage
152
+ } else {
153
+ # Append the dependency message to the end of the description
154
+ $newBody = if ($currentBody) { "$currentBody`n`n$dependencyMessage" } else { $dependencyMessage }
155
+ }
156
+
157
+ # Update the PR description
158
+ $updateBody = @{
159
+ body = $newBody
160
+ } | ConvertTo-Json
161
+
162
+ Invoke-RestMethod -Uri $prUri -Method Patch -Headers $headers -Body $updateBody -ContentType "application/json"
163
+
164
+ Write-Output "Updated PR description with development package information"
165
+
166
+ - name: Build package
167
+ run: uv build
168
+
169
+ - name: Publish
170
+ run: uv publish --index testpypi
171
+ env:
172
+ UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
@@ -4,10 +4,14 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
+ paths:
8
+ - "docs/**"
9
+ - "pyproject.toml"
7
10
 
8
11
  jobs:
9
12
  publish-docs:
10
13
  runs-on: ubuntu-latest
14
+ if: ${{ github.repository == 'UiPath/uipath-langchain-python' }}
11
15
  steps:
12
16
  - name: Trigger Publish Docs
13
17
  run: |