Skip to content

Commit

Permalink
fix 函数调用
Browse files Browse the repository at this point in the history
  • Loading branch information
PlexPt committed Jun 15, 2023
1 parent 3ac454a commit 0ad1eef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ maven
<dependency>
<groupId>com.github.plexpt</groupId>
<artifactId>chatgpt</artifactId>
<version>4.1.1</version>
<version>4.1.2</version>
</dependency>
```

gradle
```
implementation group: 'com.github.plexpt', name: 'chatgpt', version: '4.1.1'
implementation group: 'com.github.plexpt', name: 'chatgpt', version: '4.1.2'
```


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.plexpt</groupId>
<artifactId>chatgpt</artifactId>
<version>4.1.1</version>
<version>4.1.2</version>
<name>chatgpt</name>
<description>ChatGPT4.0、 ChatGPT Java SDK.</description>
<url>https://chat.plexpt.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ public class ChatCompletion implements Serializable {
private double topP = 0.9;


@Builder.Default
String function_call = "auto";
/**
* auto
*/
String function_call;

List<ChatFunction> functions;

Expand Down

0 comments on commit 0ad1eef

Please sign in to comment.