Files
2026-07-13 12:35:43 +08:00

20 lines
483 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,
Codex,
ConvertInteractionsRequestToCodex,
interfaces.TranslateResponse{
Stream: ConvertCodexResponseToInteractions,
NonStream: ConvertCodexResponseToInteractionsNonStream,
},
)
}