fix: enhance error handling for invalid request types in relay handlers

This commit is contained in:
CaIon committed 2025-08-23 13:34:56 +08:00
1 parent 060ce89286
commit 13301d8544
8 files changed
+9 -9

No files matched your search

+2 -1
View File
@@ -2,12 +2,13 @@ package common
import (
"bytes"
"github.com/gin-gonic/gin"
"io"
"net/http"
"one-api/constant"
"strings"
"time"
"github.com/gin-gonic/gin"
)
const KeyRequestBody = "key_request_body"