Skip to content

Commit 2648cde

Browse files
authored
[Release] Released for 1.1.0 (#8)
2 parents 57f7ea3 + d87ac19 commit 2648cde

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

docs/docs/released.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ hide:
55
- navigation
66
---
77

8+
### 1.1.0
9+
10+
---
11+
12+
- Fixed `DefaultClient`
13+
814
### 1.0.0
915

1016
---

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.devlive.sdk</groupId>
77
<artifactId>openai-java-sdk</artifactId>
8-
<version>1.0.0</version>
8+
<version>1.1.0</version>
99

1010
<name>openai-java-sdk</name>
1111
<description>

src/main/java/org/devlive/sdk/openai/DefaultClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ public abstract class DefaultClient
1111
{
1212
protected DefaultApi api;
1313

14-
ModelResponse getModels()
14+
public ModelResponse getModels()
1515
{
1616
return this.api.fetchModels()
1717
.blockingGet();
1818
}
1919

20-
ModelEntity getModel(String model)
20+
public ModelEntity getModel(String model)
2121
{
2222
return this.api.fetchModel(model)
2323
.blockingGet();
2424
}
2525

26-
CompleteResponse createCompletion(CompletionEntity configure)
26+
public CompleteResponse createCompletion(CompletionEntity configure)
2727
{
2828
return this.api.fetchCompletions(configure)
2929
.blockingGet();
3030
}
3131

32-
CompleteChatResponse createChatCompletion(CompletionChatEntity configure)
32+
public CompleteChatResponse createChatCompletion(CompletionChatEntity configure)
3333
{
3434
return this.api.fetchChatCompletions(configure)
3535
.blockingGet();

0 commit comments

Comments
 (0)