-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
🚀 SID personal data integration #1244
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
Conversation
A new import 'SIDSearch' from 'reworkd_platform.web.api.agent.tools' has been added to the 'tools.py' file. Now, the SIDSearch tool is also available for use along with Image, Search, and Code.
…ity (add-sid) Add a blank line in search.py. Change database settings in settings.py and add refresh token for debug. Create new file sidsearch.py that implements SID search functionality through various platforms like Google Drive, Notion, GMail, etc. using user's personal refresh token.
Added a comment in sidsearch.py to clarify that the access token should not be hardcoded, but obtained through an auth token exchange. The Bearer token in the 'Authorization' header has been changed as well.
…s and functionality (add-sid) The new ConnectSidButton component has been created and added to the settings page. This component provides functionality for connecting and disconnecting SID, with different button styles for different states. The button dimensions and font scale can be customized via component props. Disconnect functionality is currently a placeholder and needs to be implemented. In addition, minor formatting adjustments were made to the settings page for better readability and consistency.
…-sid) The authorization field in the headers of the _sid_search_results function has been updated to a placeholder. Additionally, the description field of the SIDSearch class has been revised to provide more accurate information about the tool's functionality.
|
@gvilums is attempting to deploy a commit to the reworkd Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi 👋 Here's a preview environment 🚀 https://next-reworkd-agentgpt-1244.env.ergomake.link Environment Summary 📑
Here are your environment's logs. For questions or comments, join Discord. Click here to disable Ergomake. |
| return False | ||
|
|
||
| # use refresh token to revoke access | ||
| delete_token = encryption_service.decrypt(creds.refresh_token_enc) |
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.
Might be best just to remove the row from the db here. How would i re-authenticate?
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.
When implementing I though that only soft deletes were supported. I changed it to a hard delete, such that the row is actually removed from the db.
platform/reworkd_platform/web/api/agent/agent_service/open_ai_agent_service.py
Outdated
Show resolved
Hide resolved
|
@awtkns I am still cleaning some stuff up right now |
|
@awtkns We finished the integration of the button and applied the suggestions you made. This should be ready for final review now. |
|
Looks good to me. Have some changes I will push up in the morning to fixup styling, typing and some minor refactors. We can go live tmrw! |
# Conflicts: # platform/reworkd_platform/web/api/auth/views.py
IDOTITOLDYASUCKAS
left a comment
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.
Cool I like it...
This PR introduces SID as a new tool available to the agent. The changes mostly concern