Skip to content

Commit 7fd943c

Browse files
authored
Fix api base in url (#88)
1 parent b4e3671 commit 7fd943c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-openai/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl Config for OpenAIConfig {
8484
}
8585

8686
fn url(&self, path: &str) -> String {
87-
format!("{}{}", OPENAI_API_BASE, path)
87+
format!("{}{}", self.api_base, path)
8888
}
8989

9090
fn api_base(&self) -> &str {

0 commit comments

Comments
 (0)