Skip to content

Commit 30959b7

Browse files
committed
v1.2.0: changes for updated OpenAI transport, and dependency updates
1 parent 8e0db3b commit 30959b7

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[versions]
22
agp = "8.5.2"
3-
kotlin = "2.0.20"
4-
coreKtx = "1.13.1"
3+
kotlin = "2.3.10"
4+
coreKtx = "1.17.0"
55
junit = "4.13.2"
66
junitVersion = "1.2.1"
77
appcompat = "1.7.0"
8-
kotlinxSerializationJson = "1.7.1"
9-
kotlinxSerializationPlugin = "2.0.20"
8+
kotlinxSerializationJson = "1.10.0"
9+
kotlinxSerializationPlugin = "2.3.10"
1010
okhttp = "4.12.0"
11-
dokka = "1.9.20"
11+
dokka = "2.1.0"
1212

1313
[libraries]
1414
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }

pipecat-client-android/build.gradle.kts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
alias(libs.plugins.android.library)
35
alias(libs.plugins.jetbrains.kotlin.android)
@@ -26,16 +28,22 @@ android {
2628
}
2729

2830
compileOptions {
29-
sourceCompatibility = JavaVersion.VERSION_1_8
30-
targetCompatibility = JavaVersion.VERSION_1_8
31+
sourceCompatibility = JavaVersion.VERSION_11
32+
targetCompatibility = JavaVersion.VERSION_11
3133
}
3234

3335
lint {
3436
targetSdk = 35
3537
}
3638

37-
kotlinOptions {
38-
jvmTarget = "1.8"
39+
publishing {
40+
singleVariant("release") {}
41+
}
42+
}
43+
44+
kotlin {
45+
compilerOptions {
46+
jvmTarget.set(JvmTarget.JVM_11)
3947
}
4048
}
4149

@@ -60,7 +68,7 @@ publishing {
6068
register<MavenPublication>("release") {
6169
groupId = "ai.pipecat"
6270
artifactId = "client"
63-
version = "1.1.0"
71+
version = "1.2.0"
6472

6573
pom {
6674
name.set("Pipecat Client")

pipecat-client-android/src/main/java/ai/pipecat/client/types/LLMContextMessage.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ data class LLMContextMessage(
1515
@SerialName("user")
1616
User("user"),
1717
@SerialName("assistant")
18-
Assistant("assistant")
18+
Assistant("assistant"),
19+
@SerialName("system")
20+
System("system"),
1921
}
2022
}

0 commit comments

Comments
 (0)