mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-14 04:13:41 +08:00
支持LoraID , 通过OpenAI Client设置 ExtraHeader 并在讯飞实现中支持
This commit is contained in:
@@ -15,7 +15,8 @@ type Functions struct {
|
||||
|
||||
type ChatRequest struct {
|
||||
Header struct {
|
||||
AppId string `json:"app_id"`
|
||||
AppId string `json:"app_id"`
|
||||
PatchId string `json:"patch_id,omitempty"`
|
||||
} `json:"header"`
|
||||
Parameter struct {
|
||||
Chat struct {
|
||||
|
||||
Reference in New Issue
Block a user