Skip to content

Commit

Permalink
SDK roll out to RC5 for OSS (#875)
Browse files Browse the repository at this point in the history
* SDK roll out to RC5

* Commit pdm.lock changes

---------

Co-authored-by: harini-venkataraman <[email protected]>
Co-authored-by: Gayathri <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 9f27bc5 commit 51195d9
Show file tree
Hide file tree
Showing 8 changed files with 274 additions and 262 deletions.
154 changes: 77 additions & 77 deletions backend/pdm.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/prompt_studio/prompt_studio_core_v2/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class CustomTool(DefaultOrganizationMixin, BaseModel):
def delete(self, organization_id=None, *args, **kwargs):
# Delete the documents associated with the tool
if not check_feature_flag_status(FeatureFlag.REMOTE_FILE_STORAGE):
file_path = FileManagerHelper.handle_sub_directory_for_prompt_studio(
file_path = FileManagerHelper.handle_sub_directory_for_tenants(
organization_id,
is_create=False,
user_id=self.created_by.user_id,
Expand Down
2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
"python-socketio==5.9.0", # For log_events
"social-auth-app-django==5.3.0", # For OAuth
"social-auth-core==4.4.2", # For OAuth
"unstract-sdk~=0.54.0rc2",
"unstract-sdk~=0.54.0rc5",
# ! IMPORTANT!
# Indirect local dependencies usually need to be added in their own projects
# as: https://pdm-project.org/latest/usage/dependency/#local-dependencies.
Expand Down
189 changes: 100 additions & 89 deletions pdm.lock

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions prompt-service/pdm.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion prompt-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
"flask~=3.0",
"llama-index==0.10.58",
"python-dotenv==1.0.0",
"unstract-sdk~=0.54.0rc2",
"unstract-sdk~=0.54.0rc5",
"redis>=5.0.3",
"unstract-core @ file:///${PROJECT_ROOT}/../unstract/core",
"unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ hook-check-django-migrations = [
"psycopg2-binary==2.9.9",
"python-dotenv==1.0.0",
"python-magic==0.4.27",
"unstract-sdk~=0.54.0rc2",
"unstract-sdk~=0.54.0rc5",
"-e unstract-connectors @ file:///${PROJECT_ROOT}/unstract/connectors",
"-e unstract-core @ file:///${PROJECT_ROOT}/unstract/core",
"-e unstract-flags @ file:///${PROJECT_ROOT}/unstract/flags",
"-e unstract-tool-registry @ file:///${PROJECT_ROOT}/unstract/tool-registry",
"-e unstract-tool-sandbox @ file:///${PROJECT_ROOT}/unstract/tool-sandbox",
"-e unstract-workflow-execution @ file:///${PROJECT_ROOT}/unstract/workflow-execution",
"-e unstract-filesystem @ file:///${PROJECT_ROOT}/unstract/filesystem"
]

[tool.black]
Expand Down
2 changes: 1 addition & 1 deletion unstract/tool-registry/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"docker~=6.1.3",
"jsonschema~=4.18.2",
"PyYAML~=6.0.1",
"unstract-sdk~=0.54.0rc2",
"unstract-sdk~=0.54.0rc5",
# ! IMPORTANT!
# Local dependencies usually need to be added as:
# https://pdm-project.org/latest/usage/dependency/#local-dependencies
Expand Down

0 comments on commit 51195d9

Please sign in to comment.