Add vision modality support for some of the models supported by LiteLLM. For the LLMs that have vision modalities and support using URL to send images on LiteLLM platform, simply add URL of the image in the 'url' field in the relevant message to pass the image to the LLM API. (see docstring for an example)
reference: https://docs.litellm.ai/docs/completion/vision#checking-if-a-model-supports-vision
Checklist
Please check the following items before code is ready to be reviewed.
[x] Code has passed all tests
[x] Docstrings have been added/updated in Google Style
name: Pull Request about: Create a pull request
Description
Add vision modality support for some of the models supported by LiteLLM. For the LLMs that have vision modalities and support using URL to send images on LiteLLM platform, simply add URL of the image in the 'url' field in the relevant message to pass the image to the LLM API. (see docstring for an example) reference: https://docs.litellm.ai/docs/completion/vision#checking-if-a-model-supports-vision
Checklist
Please check the following items before code is ready to be reviewed.