chore: fix refactor caused typo

This commit is contained in:
JustSong
2024-04-06 02:12:50 +08:00
parent 0b8ccb94eb
commit 961b4108e6
2 changed files with 2 additions and 2 deletions

View File

@@ -10,5 +10,5 @@ func GetRequestURL(meta *meta.Meta) (string, error) {
if meta.Mode == relaymode.ChatCompletions {
return fmt.Sprintf("%s/v1/text/chatcompletion_v2", meta.BaseURL), nil
}
return "", fmt.Errorf("unsupported relay relaymode %d for minimax", meta.Mode)
return "", fmt.Errorf("unsupported relay mode %d for minimax", meta.Mode)
}