-
Notifications
You must be signed in to change notification settings - Fork 1
release: 0.1.0-alpha.1 #6
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
release: 0.1.0-alpha.1 #6
Conversation
WalkthroughThis PR refactors the TaamCloud API by integrating the Changes
Files selected (9)
Files ignored (5)
Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
|
| # It should be noted that the actual Content-Type header that will be | ||
| # sent to the server will contain a `boundary` parameter, e.g. | ||
| # multipart/form-data; boundary=---abc-- | ||
| extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} |
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.
The Content-Type header is being set before file boundary parameter, which could allow header injection attacks. The header should be set by the multipart encoder instead.
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
| extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} | |
| extra_headers = extra_headers or {} |
Automated Release PR
0.1.0-alpha.1 (2025-01-24)
Full Changelog: v0.0.1-alpha.1...v0.1.0-alpha.1
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
EntelligenceAI PR Summary
Purpose: Streamline the TaamCloud API user interface, enhancing file upload with OCR and Vision options, and improve communication through documentation and type renames.
Changes:
uploadfunctionality into the client, adding optional OCR and Vision capabilities.FileUploadParamstoClientUploadParams.0.1.0-alpha.1.test_files.pytotest_client.pyto match new client methods.Impact: Enhancements streamline file uploads, add user capabilities, clarify API usage, and ensure robust testing alignment.