uipath 2.0.2.dev2__tar.gz → 2.0.4__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 might be problematic. Click here for more details.

Files changed (110) hide show
  1. uipath-2.0.4/LICENSE +9 -0
  2. {uipath-2.0.2.dev2 → uipath-2.0.4}/PKG-INFO +2 -1
  3. {uipath-2.0.2.dev2 → uipath-2.0.4}/pyproject.toml +3 -1
  4. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/_auth_server.py +35 -6
  5. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/actions_service.py +1 -1
  6. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/assets_service.py +1 -1
  7. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/connections_service.py +1 -1
  8. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/connections_service.pyi +2 -2
  9. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/context_grounding_service.py +3 -3
  10. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/jobs_service.py +1 -1
  11. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/llm_gateway_service.py +2 -2
  12. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/processes_service.py +1 -1
  13. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/queues_service.py +1 -1
  14. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/sdk/services/test_llm_service.py +4 -4
  15. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/sdk/services/test_uipath_llm_integration.py +5 -5
  16. {uipath-2.0.2.dev2 → uipath-2.0.4}/uv.lock +1 -1
  17. {uipath-2.0.2.dev2 → uipath-2.0.4}/.cursorrules +0 -0
  18. {uipath-2.0.2.dev2 → uipath-2.0.4}/.editorconfig +0 -0
  19. {uipath-2.0.2.dev2 → uipath-2.0.4}/.gitattributes +0 -0
  20. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/build.yml +0 -0
  21. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/cd.yml +0 -0
  22. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/ci.yml +0 -0
  23. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/commitlint.yml +0 -0
  24. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/lint.yml +0 -0
  25. {uipath-2.0.2.dev2 → uipath-2.0.4}/.github/workflows/test.yml +0 -0
  26. {uipath-2.0.2.dev2 → uipath-2.0.4}/.gitignore +0 -0
  27. {uipath-2.0.2.dev2 → uipath-2.0.4}/.pre-commit-config.yaml +0 -0
  28. {uipath-2.0.2.dev2 → uipath-2.0.4}/.python-version +0 -0
  29. {uipath-2.0.2.dev2 → uipath-2.0.4}/.vscode/extensions.json +0 -0
  30. {uipath-2.0.2.dev2 → uipath-2.0.4}/.vscode/settings.json +0 -0
  31. {uipath-2.0.2.dev2 → uipath-2.0.4}/CONTRIBUTING.md +0 -0
  32. {uipath-2.0.2.dev2 → uipath-2.0.4}/README.md +0 -0
  33. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/assets/uipath-logo.svg +0 -0
  34. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/assets.md +0 -0
  35. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/buckets.md +0 -0
  36. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/connections.md +0 -0
  37. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/context_grounding.md +0 -0
  38. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/index.md +0 -0
  39. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/jobs.md +0 -0
  40. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/processes.md +0 -0
  41. {uipath-2.0.2.dev2 → uipath-2.0.4}/docs/queues.md +0 -0
  42. {uipath-2.0.2.dev2 → uipath-2.0.4}/justfile +0 -0
  43. {uipath-2.0.2.dev2 → uipath-2.0.4}/mkdocs.yml +0 -0
  44. {uipath-2.0.2.dev2 → uipath-2.0.4}/py.typed +0 -0
  45. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/__init__.py +0 -0
  46. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/README.md +0 -0
  47. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/__init__.py +0 -0
  48. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/_models.py +0 -0
  49. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
  50. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/_portal_service.py +0 -0
  51. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/_utils.py +0 -0
  52. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/auth_config.json +0 -0
  53. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/index.html +0 -0
  54. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/localhost.crt +0 -0
  55. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_auth/localhost.key +0 -0
  56. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_runtime/_contracts.py +0 -0
  57. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_runtime/_logging.py +0 -0
  58. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_runtime/_runtime.py +0 -0
  59. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
  60. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_templates/.rels.template +0 -0
  61. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
  62. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_templates/main.py.template +0 -0
  63. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
  64. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_utils/_common.py +0 -0
  65. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_utils/_input_args.py +0 -0
  66. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
  67. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_auth.py +0 -0
  68. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_deploy.py +0 -0
  69. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_init.py +0 -0
  70. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_new.py +0 -0
  71. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_pack.py +0 -0
  72. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_publish.py +0 -0
  73. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/cli_run.py +0 -0
  74. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_cli/middlewares.py +0 -0
  75. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_config.py +0 -0
  76. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_execution_context.py +0 -0
  77. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_folder_context.py +0 -0
  78. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/__init__.py +0 -0
  79. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/_base_service.py +0 -0
  80. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/api_client.py +0 -0
  81. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/buckets_service.py +0 -0
  82. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_services/folder_service.py +0 -0
  83. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_uipath.py +0 -0
  84. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/__init__.py +0 -0
  85. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_endpoint.py +0 -0
  86. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_infer_bindings.py +0 -0
  87. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_logs.py +0 -0
  88. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_request_override.py +0 -0
  89. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_request_spec.py +0 -0
  90. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/_user_agent.py +0 -0
  91. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/_utils/constants.py +0 -0
  92. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/__init__.py +0 -0
  93. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/action_schema.py +0 -0
  94. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/actions.py +0 -0
  95. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/assets.py +0 -0
  96. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/connections.py +0 -0
  97. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/context_grounding.py +0 -0
  98. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/context_grounding_index.py +0 -0
  99. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/exceptions.py +0 -0
  100. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/interrupt_models.py +0 -0
  101. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/job.py +0 -0
  102. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/llm_gateway.py +0 -0
  103. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/processes.py +0 -0
  104. {uipath-2.0.2.dev2/src/uipath/_models → uipath-2.0.4/src/uipath/models}/queues.py +0 -0
  105. {uipath-2.0.2.dev2 → uipath-2.0.4}/src/uipath/py.typed +0 -0
  106. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/__init__.py +0 -0
  107. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/cli/test_init.py +0 -0
  108. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/conftest.py +0 -0
  109. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/sdk/services/test_llm_integration.py +0 -0
  110. {uipath-2.0.2.dev2 → uipath-2.0.4}/tests/sdk/test_config.py +0 -0
uipath-2.0.4/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright 2025 UiPath
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.2.dev2
3
+ Version: 2.0.4
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
7
7
  Maintainer-email: Marius Cosareanu <marius.cosareanu@uipath.com>, Cristian Pufu <cristian.pufu@uipath.com>
8
+ License-File: LICENSE
8
9
  Classifier: Development Status :: 3 - Alpha
9
10
  Classifier: Intended Audience :: Developers
10
11
  Classifier: Programming Language :: Python :: 3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "uipath"
3
- version = "2.0.2.dev2"
3
+ version = "2.0.4"
4
4
  description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
5
5
  readme = { file = "README.md", content-type = "text/markdown" }
6
6
  requires-python = ">=3.10"
@@ -76,6 +76,8 @@ ignore-decorators = []
76
76
  "*_test.py" = ["D"]
77
77
  # TODO: Remove this once the documentation for CLI is updated
78
78
  "uipath/_cli/**" = ["D"]
79
+ # TODO: Remove this once model documentation is added
80
+ "src/uipath/models/**" = ["D101","D100","D104","D102","D107"]
79
81
 
80
82
  [tool.ruff.format]
81
83
  quote-style = "double"
@@ -113,7 +113,13 @@ def make_request_handler_class(state, code_verifier, token_callback, domain):
113
113
 
114
114
  class HTTPSServer:
115
115
  def __init__(self, port=6234, cert_file="localhost.crt", key_file="localhost.key"):
116
- """Initialize HTTPS server with configurable parameters."""
116
+ """Initialize HTTPS server with configurable parameters.
117
+
118
+ Args:
119
+ port (int, optional): Port number to run the server on. Defaults to 6234.
120
+ cert_file (str, optional): SSL certificate file. Defaults to "localhost.crt".
121
+ key_file (str, optional): SSL key file. Defaults to "localhost.key".
122
+ """
117
123
  self.current_path = os.path.dirname(os.path.abspath(__file__))
118
124
  self.port = port
119
125
  self.cert_file = os.path.join(self.current_path, "localhost.crt")
@@ -123,17 +129,31 @@ class HTTPSServer:
123
129
  self.should_shutdown = False
124
130
 
125
131
  def token_received_callback(self, token_data):
126
- """Callback for when a token is received."""
132
+ """Callback for when a token is received.
133
+
134
+ Args:
135
+ token_data (dict): The received token data.
136
+ """
127
137
  self.token_data = token_data
128
138
  self.should_shutdown = True
129
139
 
130
140
  def create_server(self, state, code_verifier, domain):
131
- """Create and configure the HTTPS server."""
141
+ """Create and configure the HTTPS server.
142
+
143
+ Args:
144
+ state (str): The OAuth state parameter.
145
+ code_verifier (str): The PKCE code verifier.
146
+ domain (str): The domain for authentication.
147
+
148
+ Returns:
149
+ socketserver.TCPServer: The configured HTTPS server.
150
+ """
132
151
  # Create SSL context
133
152
  context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
134
153
  context.load_cert_chain(self.cert_file, self.key_file)
135
154
 
136
- # Create server
155
+ # Create server with address reuse
156
+ socketserver.TCPServer.allow_reuse_address = True
137
157
  handler = make_request_handler_class(
138
158
  state, code_verifier, self.token_received_callback, domain
139
159
  )
@@ -143,7 +163,16 @@ class HTTPSServer:
143
163
  return self.httpd
144
164
 
145
165
  def start(self, state, code_verifier, domain):
146
- """Start the server."""
166
+ """Start the server.
167
+
168
+ Args:
169
+ state (str): The OAuth state parameter.
170
+ code_verifier (str): The PKCE code verifier.
171
+ domain (str): The domain for authentication.
172
+
173
+ Returns:
174
+ dict: The received token data or an empty dict if no token was received.
175
+ """
147
176
  if not self.httpd:
148
177
  self.create_server(state, code_verifier, domain)
149
178
 
@@ -159,7 +188,7 @@ class HTTPSServer:
159
188
  return self.token_data if self.token_data else {}
160
189
 
161
190
  def stop(self):
162
- """Stop the server gracefully."""
191
+ """Stop the server gracefully and cleanup resources."""
163
192
  if self.httpd:
164
193
  self.httpd.server_close()
165
194
  self.httpd = None
@@ -6,9 +6,9 @@ from typing import Any, Dict, Optional, Tuple
6
6
  from .._config import Config
7
7
  from .._execution_context import ExecutionContext
8
8
  from .._folder_context import FolderContext
9
- from .._models import Action, ActionSchema
10
9
  from .._utils import Endpoint, RequestSpec
11
10
  from .._utils.constants import ENV_TENANT_ID, HEADER_TENANT_ID
11
+ from ..models import Action, ActionSchema
12
12
  from ._base_service import BaseService
13
13
 
14
14
 
@@ -5,8 +5,8 @@ from httpx import Response
5
5
  from .._config import Config
6
6
  from .._execution_context import ExecutionContext
7
7
  from .._folder_context import FolderContext
8
- from .._models import UserAsset
9
8
  from .._utils import Endpoint, RequestSpec, header_folder, infer_bindings
9
+ from ..models import UserAsset
10
10
  from ._base_service import BaseService
11
11
 
12
12
 
@@ -4,9 +4,9 @@ from typing import Any, Dict, Protocol, TypeVar, Union
4
4
 
5
5
  from .._config import Config
6
6
  from .._execution_context import ExecutionContext
7
- from .._models import Connection, ConnectionToken
8
7
  from .._utils import Endpoint, RequestSpec
9
8
  from .._utils.constants import ENTRYPOINT
9
+ from ..models import Connection, ConnectionToken
10
10
  from ._base_service import BaseService
11
11
 
12
12
  T_co = TypeVar("T_co", covariant=True)
@@ -3,11 +3,11 @@ from typing import TYPE_CHECKING, Any, Protocol, TypeVar
3
3
 
4
4
  from .._config import Config as Config
5
5
  from .._execution_context import ExecutionContext as ExecutionContext
6
- from .._models import Connection as Connection
7
- from .._models import ConnectionToken as ConnectionToken
8
6
  from .._utils import Endpoint as Endpoint
9
7
  from .._utils import RequestSpec as RequestSpec
10
8
  from .._utils.constants import ENTRYPOINT as ENTRYPOINT
9
+ from ..models import Connection as Connection
10
+ from ..models import ConnectionToken as ConnectionToken
11
11
  from ._base_service import BaseService as BaseService
12
12
 
13
13
  if TYPE_CHECKING:
@@ -6,14 +6,14 @@ from pydantic import TypeAdapter
6
6
  from .._config import Config
7
7
  from .._execution_context import ExecutionContext
8
8
  from .._folder_context import FolderContext
9
- from .._models import IngestionInProgressException
10
- from .._models.context_grounding import ContextGroundingQueryResponse
11
- from .._models.context_grounding_index import ContextGroundingIndex
12
9
  from .._utils import Endpoint, RequestSpec
13
10
  from .._utils.constants import (
14
11
  HEADER_FOLDER_KEY,
15
12
  ORCHESTRATOR_STORAGE_BUCKET_DATA_SOURCE,
16
13
  )
14
+ from ..models import IngestionInProgressException
15
+ from ..models.context_grounding import ContextGroundingQueryResponse
16
+ from ..models.context_grounding_index import ContextGroundingIndex
17
17
  from ._base_service import BaseService
18
18
  from .folder_service import FolderService
19
19
 
@@ -4,8 +4,8 @@ from typing import Any, Dict, Optional, overload
4
4
  from .._config import Config
5
5
  from .._execution_context import ExecutionContext
6
6
  from .._folder_context import FolderContext
7
- from .._models.job import Job
8
7
  from .._utils import Endpoint, RequestSpec, header_folder
8
+ from ..models.job import Job
9
9
  from ._base_service import BaseService
10
10
 
11
11
 
@@ -3,7 +3,8 @@ from typing import Any, Dict, List, Optional
3
3
 
4
4
  from .._config import Config
5
5
  from .._execution_context import ExecutionContext
6
- from .._models.llm_gateway import (
6
+ from .._utils import Endpoint
7
+ from ..models.llm_gateway import (
7
8
  ChatCompletion,
8
9
  SpecificToolChoice,
9
10
  TextEmbedding,
@@ -11,7 +12,6 @@ from .._models.llm_gateway import (
11
12
  ToolDefinition,
12
13
  UsageInfo,
13
14
  )
14
- from .._utils import Endpoint
15
15
  from ._base_service import BaseService
16
16
 
17
17
  # Common constants
@@ -5,9 +5,9 @@ from typing import Any, Dict, Optional
5
5
  from .._config import Config
6
6
  from .._execution_context import ExecutionContext
7
7
  from .._folder_context import FolderContext
8
- from .._models.job import Job
9
8
  from .._utils import Endpoint, RequestSpec, header_folder, infer_bindings
10
9
  from .._utils.constants import ENV_JOB_ID, HEADER_JOB_KEY
10
+ from ..models.job import Job
11
11
  from ._base_service import BaseService
12
12
 
13
13
 
@@ -5,8 +5,8 @@ from httpx import Response
5
5
  from .._config import Config
6
6
  from .._execution_context import ExecutionContext
7
7
  from .._folder_context import FolderContext
8
- from .._models import CommitType, QueueItem, TransactionItem, TransactionItemResult
9
8
  from .._utils import Endpoint, RequestSpec
9
+ from ..models import CommitType, QueueItem, TransactionItem, TransactionItemResult
10
10
  from ._base_service import BaseService
11
11
 
12
12
 
@@ -5,14 +5,14 @@ import pytest
5
5
 
6
6
  from uipath._config import Config
7
7
  from uipath._execution_context import ExecutionContext
8
- from uipath._models.llm_gateway import (
9
- TextEmbedding,
10
- UsageInfo,
11
- )
12
8
  from uipath._services.llm_gateway_service import (
13
9
  EmbeddingModels,
14
10
  UiPathOpenAIService,
15
11
  )
12
+ from uipath.models.llm_gateway import (
13
+ TextEmbedding,
14
+ UsageInfo,
15
+ )
16
16
 
17
17
 
18
18
  class TestOpenAIService:
@@ -6,7 +6,11 @@ import pytest
6
6
 
7
7
  from uipath._config import Config
8
8
  from uipath._execution_context import ExecutionContext
9
- from uipath._models.llm_gateway import (
9
+ from uipath._services.llm_gateway_service import (
10
+ ChatModels,
11
+ UiPathLlmChatService,
12
+ )
13
+ from uipath.models.llm_gateway import (
10
14
  AutoToolChoice,
11
15
  SpecificToolChoice,
12
16
  ToolDefinition,
@@ -14,10 +18,6 @@ from uipath._models.llm_gateway import (
14
18
  ToolParametersDefinition,
15
19
  ToolPropertyDefinition,
16
20
  )
17
- from uipath._services.llm_gateway_service import (
18
- ChatModels,
19
- UiPathLlmChatService,
20
- )
21
21
 
22
22
 
23
23
  def get_env_var(name: str) -> str:
@@ -2320,7 +2320,7 @@ wheels = [
2320
2320
 
2321
2321
  [[package]]
2322
2322
  name = "uipath"
2323
- version = "2.0.2.dev2"
2323
+ version = "2.0.4"
2324
2324
  source = { editable = "." }
2325
2325
  dependencies = [
2326
2326
  { name = "click" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes