Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK roll out to RC5 for OSS #875

Merged
merged 3 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(
gaya3-zipstack marked this conversation as resolved.
Show resolved Hide resolved
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
Loading