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

Add tool image assets for store upload #66

Merged
merged 9 commits into from
Jan 28, 2025

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Implements tool image asset uploads with proper error handling and timeouts.

Changes:

  • Added icon_url and banner_url fields to tool metadata
  • Implemented image upload functionality with FormData
  • Added proper error handling and timeouts
  • Enhanced logging for better debugging
  • Gracefully handles 409 errors for default tools

Link to Devin run: https://app.devin.ai/sessions/b7f12a8f96e143889bfa8336038998c3

devin-ai-integration bot and others added 8 commits January 27, 2025 18:55
Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
- Add support for uploading icon.png (64x64) and banner.png (1000x500)
- Use FormData to upload images to store endpoint
- Store returned URLs in icon_url and banner_url fields
- Add proper error handling and timeouts
- Maintain existing functionality for tool uploads

Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
- Fix missing closing brace in try-catch block
- Fix semicolon in if statement
- Fix indentation in function closing brace

Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
- Add icon_url and banner_url fields to tool metadata
- Implement image upload functionality with FormData
- Add proper error handling and timeouts
- Enhance logging for better debugging
- Handle 409 errors gracefully for default tools

Co-Authored-By: Nicolas Arqueros <nico@dcspark.io>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@guillevalin guillevalin merged commit 52c346e into main Jan 28, 2025
1 check passed
@guillevalin guillevalin deleted the devin/1738004067-add-tool-image-assets branch January 28, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant