Skip to content

Commit

Permalink
chore: prepare release 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Nov 24, 2023
1 parent 3dfc666 commit e8c6d1e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Unreleased
## 3.6.0
> Published 24 Nov 2023
### Added
- **Images**: Support for model selection for `ImageCreation`, `ImageEdit` and `ImageVariations` (#257)
- **Chat**: add tool calls (#256)
- **Chat**: add vision feature (#258)
- **Config**: adding ktor engine config to support Kotlin Scripting (#261)
- ***Audio**: add speech-to-text (#263)
- **Audio**: add speech-to-text (#263)

#### Beta
- **Assistants**: api implementation (#259)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}
dependencies {
implementation "com.aallam.openai:openai-client:3.5.1"
implementation "com.aallam.openai:openai-client:3.6.0"
}
```

Expand All @@ -30,7 +30,7 @@ Alternatively, you can use [openai-client-bom](/openai-client-bom) by adding th
```groovy
dependencies {
// import Kotlin API client BOM
implementation platform('com.aallam.openai:openai-client-bom:3.5.1')
implementation platform('com.aallam.openai:openai-client-bom:3.6.0')
// define dependencies without versions
implementation 'com.aallam.openai:openai-client'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin.js.compiler=ir

# Lib
GROUP=com.aallam.openai
VERSION_NAME=3.6.0-SNAPSHOT
VERSION_NAME=3.6.0

# OSS
SONATYPE_HOST=DEFAULT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.aallam.openai.api.assistant.AssistantTool
import com.aallam.openai.api.assistant.assistantRequest
import com.aallam.openai.api.model.ModelId
import com.aallam.openai.api.run.RunRequest
import com.aallam.openai.api.run.ThreadRunRequest
import kotlin.test.Test
import kotlin.test.assertEquals

Expand Down Expand Up @@ -46,7 +47,7 @@ class TestRuns : TestOpenAI() {
model = ModelId("gpt-4")
}
)
val request = RunRequest(assistantId = assistant.id)
val request = ThreadRunRequest(assistantId = assistant.id)
val run = openAI.createThreadRun(request)
assertEquals(assistant.id, run.assistantId)

Expand Down

0 comments on commit e8c6d1e

Please sign in to comment.