Merge branch 'songquanpeng:main' into main

This commit is contained in:
Calcium-Ion
2023-10-30 16:12:09 +08:00
committed by GitHub
19 changed files with 99 additions and 45 deletions

View File

@@ -5,13 +5,14 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/gin-gonic/gin"
"net/http"
"one-api/common"
"one-api/model"
"strconv"
"sync"
"time"
"github.com/gin-gonic/gin"
)
func testChannel(channel *model.Channel, request ChatRequest) (err error, openaiErr *OpenAIError) {