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

Enhancement: Link to image (image_url) for vision-capable endpoints rather than b64 #2774

Open
1 task done
iGerman00 opened this issue May 18, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@iGerman00
Copy link

What features would you like to see added?

A configuration option per API endpoint to use image_url with an actual URL instead of base64.

More details

Right now, to the best of my knowledge, any uploaded images are sent as b64 to the API, always. This is fine for most APIs, but some might require an image link instead. Given that the images are already uploaded and are accessible over /images/*, I think a configuration option or two (you might need to specify a base public URL) would be a good addition in the custom endpoints' configuration.

Which components are impacted by your request?

Endpoints

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@iGerman00 iGerman00 added the enhancement New feature or request label May 18, 2024
@danny-avila
Copy link
Owner

Should be simple enough to expose and send a URL instead, but this should be configured by admin setting, as not all setups will expose their service or assets to the internet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants