fix: use gin.BodyBytesKey as KeyRequestBody

This commit is contained in:
WqyJh
2025-01-17 16:06:04 +08:00
parent 95b4967f40
commit 215e59b76d
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
package ctxkey
import "github.com/gin-gonic/gin"
const (
Config = "config"
Id = "id"
@@ -19,5 +21,6 @@ const (
TokenName = "token_name"
BaseURL = "base_url"
AvailableModels = "available_models"
KeyRequestBody = gin.BodyBytesKey
SystemPrompt = "system_prompt"
)