meta prompt function is ready

This commit is contained in:
RockYang
2024-11-12 17:13:38 +08:00
parent 2aa0b51c09
commit cff0397735
10 changed files with 176 additions and 18 deletions

View File

@@ -16,7 +16,8 @@ type ApiRequest struct {
Stream bool `json:"stream,omitempty"`
Messages []interface{} `json:"messages,omitempty"`
Tools []Tool `json:"tools,omitempty"`
Functions []interface{} `json:"functions,omitempty"` // 兼容中转平台
Functions []interface{} `json:"functions,omitempty"` // 兼容中转平台
ResponseFormat interface{} `json:"response_format,omitempty"` // 响应格式
ToolChoice string `json:"tool_choice,omitempty"`