This commit is contained in:
Sakurasan committed 2023-05-28 22:59:58 +08:00
1 parent ae1670b9b8
commit 631073fed0
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ type ChatCompletionResponse struct {
func init() {
if openai_endpoint := os.Getenv("openai_endpoint"); openai_endpoint != "" {
log.Println("replace %s to %s", baseUrl, openai_endpoint)
log.Println(fmt.Sprintf("replace %s to %s", baseUrl, openai_endpoint))
baseUrl = openai_endpoint
}
}