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

[MERGE-WITH-SDK-ROLL-RC6] [FEAT] Rolling out RC6 to OSS #889

Merged
merged 7 commits into from
Dec 12, 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
175 changes: 110 additions & 65 deletions backend/pdm.lock

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions backend/prompt_studio/prompt_studio_core_v2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,15 @@ def fetch_contents_ide(self, request: HttpRequest, pk: Any = None) -> Response:
file_path += file_name
contents = FileManagerHelper.fetch_file_contents(file_system, file_path)
else:
contents = PromptStudioFileHelper.fetch_file_contents(
file_name=file_name,
org_id=UserSessionUtils.get_organization_id(request),
user_id=custom_tool.created_by.user_id,
tool_id=str(custom_tool.tool_id),
)

try:
contents = PromptStudioFileHelper.fetch_file_contents(
file_name=file_name,
org_id=UserSessionUtils.get_organization_id(request),
user_id=custom_tool.created_by.user_id,
tool_id=str(custom_tool.tool_id),
)
except FileNotFoundError:
harini-venkataraman marked this conversation as resolved.
Show resolved Hide resolved
raise FileNotFound()
gaya3-zipstack marked this conversation as resolved.
Show resolved Hide resolved
return Response({"data": contents}, status=status.HTTP_200_OK)

@action(detail=True, methods=["post"])
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.0rc5",
"unstract-sdk~=0.54.0rc6",
# ! 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
277 changes: 161 additions & 116 deletions pdm.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions platform-service/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion platform-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"redis~=5.0.1",
"cryptography>=41.0.7",
"requests>=2.31.0",
"unstract-sdk~=0.54.0rc6",
"unstract-sdk==0.54.0rc6",
"gcsfs==2024.10.0",
"unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",
]
Expand Down
Loading