Files
one-api/common
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
..
2023-04-22 20:39:27 +08:00
2023-04-22 20:39:27 +08:00
2023-06-22 10:59:01 +08:00
2023-12-24 18:54:32 +08:00
2023-04-22 20:39:27 +08:00
2023-10-22 18:38:29 +08:00
2023-04-22 20:39:27 +08:00
2023-04-22 20:39:27 +08:00