feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
+11
-7
@@ -116,16 +116,20 @@ func SetRelayRouter(router *gin.Engine) {
|
||||
controller.Relay(c, types.RelayFormatOpenAIAlphaSearch)
|
||||
})
|
||||
|
||||
// image related routes
|
||||
// DeepSeek Search and Fetch API routes
|
||||
httpRouter.POST("/tools/search", func(c *gin.Context) {
|
||||
controller.Relay(c, types.RelayFormatDeepSeekTools)
|
||||
})
|
||||
httpRouter.POST("/tools/fetch", func(c *gin.Context) {
|
||||
controller.Relay(c, types.RelayFormatDeepSeekTools)
|
||||
})
|
||||
|
||||
// image related routes. /images/generations and /images/edits are
|
||||
// host protocol endpoints (openai_image) registered by
|
||||
// SetTaskPluginProtocolRouter; unclaimed models fall back to Relay.
|
||||
httpRouter.POST("/edits", func(c *gin.Context) {
|
||||
controller.Relay(c, types.RelayFormatOpenAIImage)
|
||||
})
|
||||
httpRouter.POST("/images/generations", func(c *gin.Context) {
|
||||
controller.Relay(c, types.RelayFormatOpenAIImage)
|
||||
})
|
||||
httpRouter.POST("/images/edits", func(c *gin.Context) {
|
||||
controller.Relay(c, types.RelayFormatOpenAIImage)
|
||||
})
|
||||
|
||||
// embedding related routes
|
||||
httpRouter.POST("/embeddings", func(c *gin.Context) {
|
||||
|
||||
Reference in new issue
Block a user