Laisky.Cai
10cbe63c0d
Merge remote-tracking branch 'origin/upstream/main'
2024-01-28 13:44:16 +00:00
JustSong
2cd1a78203
chore: update module name
2024-01-28 19:38:58 +08:00
Laisky.Cai
021affc81a
Merge remote-tracking branch 'origin/upstream/main'
2024-01-03 05:54:05 +00:00
Laisky.Cai
7772064d87
fix: support base64 encoded image_url ( #872 )
...
- Add support for base64 encoded image in OpenAI's image_url
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-01-01 17:38:35 +08:00
Zhanliang Liu
c725cc8842
fix: base 64 encoded format support of gemini-pro-vision for field image_url/url ( #878 )
2024-01-01 17:00:23 +08:00
Laisky.Cai
671fe78e44
fix: Add image support to Gemini relay
...
- Add support for getting base64-encoded images via openAI's image_url.
- Add `context` as a parameter for the function `LogError`.
- Handle the error from `image.GetImageFromUrl` by logging it.
- Convert the role to `user` if it is `system` and add a dummy model message to make Gemini happy.
2023-12-27 03:13:11 +00:00
JustSong
1c8922153d
feat: support gemini-vision-pro
2023-12-24 18:54:32 +08:00
Buer
a763681c2e
fix: fix base64 image parse error ( #858 )
2023-12-24 15:35:56 +08:00
Qiying Wang
4c5feee0b6
feat: add image counter for gpt-4 vision ( #795 )
2023-12-10 19:39:46 +08:00