-
Notifications
You must be signed in to change notification settings - Fork 177
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
[FEAT] Unified remote APIs - Prompt studio changes #817
base: main
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
provider=provider, credentials=credentials | ||
) | ||
if type.value == FileStorageType.DEFAULT.value: | ||
file_storage = FileStorage(provider=provider, credentials=credentials) |
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.
If provider is not present, we can default it to Local
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.
Are these changes intentional?
file_info = fs.info(file_path) | ||
except FileNotFoundError: | ||
def fetch_file_contents(file_path: str) -> Any: | ||
file_storage = FileStorageUtil.initialize_file_storage( |
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.
I think I need to understand this better.
What
Why
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)
Database Migrations
Env Config
Relevant Docs
Related Issues or PRs
Dependencies Versions
Notes on Testing
Screenshots
Checklist
I have read and understood the Contribution Guidelines.