Skip to content

Commit c736c3a

Browse files
fix: cleanup
1 parent a6320f5 commit c736c3a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

packages/uipath-platform/src/uipath/platform/context_grounding/_context_grounding_service.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -696,11 +696,6 @@ def create_ephemeral_index(
696696
Returns:
697697
ContextGroundingIndex: The created index information.
698698
"""
699-
# Resolve the folder key the same way retrieve_by_id does (falling back
700-
# to the ambient folder context) so the index is created in the same
701-
# folder scope it will later be retrieved from. Otherwise the index is
702-
# created tenant-scoped but the GET sends x-uipath-folderkey, scoping the
703-
# lookup to a folder the index doesn't live in -> 404 "Schema not found".
704699
folder_key = self._resolve_folder_key(folder_key, folder_path)
705700
spec = self._create_ephemeral_spec(
706701
usage,
@@ -737,11 +732,6 @@ async def create_ephemeral_index_async(
737732
Returns:
738733
ContextGroundingIndex: The created index information.
739734
"""
740-
# Resolve the folder key the same way retrieve_by_id does (falling back
741-
# to the ambient folder context) so the index is created in the same
742-
# folder scope it will later be retrieved from. Otherwise the index is
743-
# created tenant-scoped but the GET sends x-uipath-folderkey, scoping the
744-
# lookup to a folder the index doesn't live in -> 404 "Schema not found".
745735
folder_key = self._resolve_folder_key(folder_key, folder_path)
746736
spec = self._create_ephemeral_spec(
747737
usage,

0 commit comments

Comments
 (0)