20 lines
487 B
Go
20 lines
487 B
Go
package interactions
|
|
|
|
import (
|
|
. "github.com/router-for-me/CLIProxyAPI/v7/internal/constant"
|
|
"github.com/router-for-me/CLIProxyAPI/v7/internal/interfaces"
|
|
"github.com/router-for-me/CLIProxyAPI/v7/internal/translator/translator"
|
|
)
|
|
|
|
func init() {
|
|
translator.Register(
|
|
Interactions,
|
|
Claude,
|
|
ConvertInteractionsRequestToClaude,
|
|
interfaces.TranslateResponse{
|
|
Stream: ConvertClaudeResponseToInteractions,
|
|
NonStream: ConvertClaudeResponseToInteractionsNonStream,
|
|
},
|
|
)
|
|
}
|