-
Notifications
You must be signed in to change notification settings - Fork 224
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
Multitenancy v2 changes for prompt studio apps - Prompt studio core, Registry #720
Conversation
|
backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py
Outdated
Show resolved
Hide resolved
backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py
Outdated
Show resolved
Hide resolved
backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py
Outdated
Show resolved
Hide resolved
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, PR updated with latest main
Duplication will be handled when we remove v1 later. |
@@ -45,8 +46,8 @@ class Mode(models.TextChoices): | |||
) | |||
tool_id = models.ForeignKey( | |||
CustomTool, | |||
on_delete=models.CASCADE, | |||
related_name="tool_studio_prompts", | |||
on_delete=models.SET_NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harini-venkataraman Not sure if this is intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harini-venkataraman Models look good overall.
Added a comment though.
What
Multitenancy v2 changes for Prompt studio, Prompt studio core and Prompt studio registry.
...
Why
Performance improvements.
...
How
...
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
No, the code is not referred.
...
Database Migrations
Env Config
Relevant Docs
Related Issues or PRs
#555
#503
#391
#564
Dependencies Versions
Notes on Testing
Untested code. Need to add migration files and test with migration.
Screenshots
Checklist
I have read and understood the Contribution Guidelines.