mirror of
https://github.com/zeke-chin/cursor-api.git
synced 2025-12-24 11:50:59 +08:00
15 lines
389 B
Go
15 lines
389 B
Go
package service
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"cursor-api-proxy/internal/models"
|
|
"cursor-api-proxy/internal/utils"
|
|
)
|
|
|
|
func HandleStreamResponse(c *gin.Context, req models.ChatRequest) {
|
|
// 从 handlers.go 移动流式响应处理逻辑到这里
|
|
}
|
|
|
|
func HandleNormalResponse(c *gin.Context, req models.ChatRequest) {
|
|
// 从 handlers.go 移动普通响应处理逻辑到这里
|
|
} |