mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-21 00:22:35 +00:00
20 lines
472 B
Go
20 lines
472 B
Go
package geminiCLI
|
|
|
|
import (
|
|
. "github.com/router-for-me/CLIProxyAPI/v6/internal/constant"
|
|
"github.com/router-for-me/CLIProxyAPI/v6/internal/interfaces"
|
|
"github.com/router-for-me/CLIProxyAPI/v6/internal/translator/translator"
|
|
)
|
|
|
|
func init() {
|
|
translator.Register(
|
|
GEMINICLI,
|
|
CLAUDE,
|
|
ConvertGeminiCLIRequestToClaude,
|
|
interfaces.TranslateResponse{
|
|
Stream: ConvertClaudeResponseToGeminiCLI,
|
|
NonStream: ConvertClaudeResponseToGeminiCLINonStream,
|
|
},
|
|
)
|
|
}
|