feat: convert gemini format to openai chat completions
This commit is contained in:
@@ -25,6 +25,11 @@ type Adaptor struct {
|
||||
RequestMode int
|
||||
}
|
||||
|
||||
func (a *Adaptor) ConvertGeminiRequest(*gin.Context, *relaycommon.RelayInfo, *dto.GeminiChatRequest) (any, error) {
|
||||
//TODO implement me
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
|
||||
func (a *Adaptor) ConvertClaudeRequest(c *gin.Context, info *relaycommon.RelayInfo, request *dto.ClaudeRequest) (any, error) {
|
||||
// Use configured system prompt if available, otherwise use default
|
||||
if info.ChannelSetting.SystemPrompt != "" {
|
||||
|
||||
Reference in New Issue
Block a user