Skip to content

Commit

Permalink
Merge pull request #69 from the-gigi/main
Browse files Browse the repository at this point in the history
Add missing usage and temperature fields to Assistant ThreadRun
  • Loading branch information
sashirestela authored Apr 1, 2024
2 parents 6ff3d59 + 3d8ae3a commit f39b244
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.github.sashirestela.cleverclient.util.UnixTimestampDeserializer;
import io.github.sashirestela.openai.domain.OpenAIUsage;
import io.github.sashirestela.openai.domain.ToolCall;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand Down Expand Up @@ -46,6 +47,8 @@ public class ThreadRun {
private List<AssistantTool> tools;
private List<String> fileIds;
private Map<String, String> metadata;
private OpenAIUsage usage;
private Double temperature;

public interface Status {

Expand Down

0 comments on commit f39b244

Please sign in to comment.