Skip to content

Commit eeb786a

Browse files
author
janligudzinski
committed
make OpenAIClient cloneable
1 parent d1f66a7 commit eeb786a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub struct OpenAIClientBuilder {
6565
headers: Option<HeaderMap>,
6666
}
6767

68-
#[derive(Debug)]
68+
#[derive(Debug, Clone)]
6969
pub struct OpenAIClient {
7070
api_endpoint: String,
7171
api_key: Option<String>,

0 commit comments

Comments
 (0)