mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-08 06:43:41 +00:00
21 lines
511 B
Go
21 lines
511 B
Go
// Package claude provides translation between Kiro and Claude formats.
|
|
package claude
|
|
|
|
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(
|
|
Claude,
|
|
Kiro,
|
|
ConvertClaudeRequestToKiro,
|
|
interfaces.TranslateResponse{
|
|
Stream: ConvertKiroStreamToClaude,
|
|
NonStream: ConvertKiroNonStreamToClaude,
|
|
},
|
|
)
|
|
}
|