diff --git a/src/main/java/io/github/sashirestela/openai/domain/assistant/ThreadRun.java b/src/main/java/io/github/sashirestela/openai/domain/assistant/ThreadRun.java index ea2b3ff7..6e2c6d8f 100644 --- a/src/main/java/io/github/sashirestela/openai/domain/assistant/ThreadRun.java +++ b/src/main/java/io/github/sashirestela/openai/domain/assistant/ThreadRun.java @@ -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; @@ -46,6 +47,8 @@ public class ThreadRun { private List tools; private List fileIds; private Map metadata; + private OpenAIUsage usage; + private Double temperature; public interface Status {