mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 09:36:37 +08:00
- 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. |
||
---|---|---|
.. | ||
image | ||
constants.go | ||
crypto.go | ||
custom-event.go | ||
database.go | ||
email.go | ||
embed-file-system.go | ||
gin.go | ||
group-ratio.go | ||
init.go | ||
logger.go | ||
model-ratio.go | ||
rate-limit.go | ||
redis.go | ||
utils.go | ||
validate.go | ||
verification.go |