Fixing imports

This commit is contained in:
marcus-daily
2025-01-09 18:36:14 +00:00
committed by Marcus
parent 1295b64879
commit 27579bcb70
3 changed files with 3 additions and 8 deletions

View File

@@ -4,7 +4,6 @@ import android.content.Context
import android.content.SharedPreferences import android.content.SharedPreferences
import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.mutableStateOf
import kotlinx.serialization.KSerializer import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json import kotlinx.serialization.json.Json
private val JSON_INSTANCE = Json { ignoreUnknownKeys = true } private val JSON_INSTANCE = Json { ignoreUnknownKeys = true }

View File

@@ -9,16 +9,14 @@ import ai.pipecat.client.result.Future
import ai.pipecat.client.result.RTVIError import ai.pipecat.client.result.RTVIError
import ai.pipecat.client.result.Result import ai.pipecat.client.result.Result
import ai.pipecat.client.types.ActionDescription import ai.pipecat.client.types.ActionDescription
import ai.pipecat.client.types.Option
import ai.pipecat.client.types.Participant import ai.pipecat.client.types.Participant
import ai.pipecat.client.types.PipecatMetrics import ai.pipecat.client.types.PipecatMetrics
import ai.pipecat.client.types.RTVIURLEndpoints import ai.pipecat.client.types.RTVIURLEndpoints
import ai.pipecat.client.types.ServiceConfig import ai.pipecat.client.types.ServiceConfig
import ai.pipecat.client.types.ServiceRegistration
import ai.pipecat.client.types.Tracks import ai.pipecat.client.types.Tracks
import ai.pipecat.client.types.Transcript import ai.pipecat.client.types.Transcript
import ai.pipecat.client.types.TransportState import ai.pipecat.client.types.TransportState
import ai.pipecat.client.types.Value import ai.pipecat.simple_chatbot_client.utils.Timestamp
import android.content.Context import android.content.Context
import android.util.Log import android.util.Log
import androidx.compose.runtime.Immutable import androidx.compose.runtime.Immutable
@@ -26,7 +24,6 @@ import androidx.compose.runtime.Stable
import androidx.compose.runtime.mutableFloatStateOf import androidx.compose.runtime.mutableFloatStateOf
import androidx.compose.runtime.mutableStateListOf import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.mutableStateOf
import ai.pipecat.simple_chatbot_client.utils.Timestamp
@Immutable @Immutable
data class Error(val message: String) data class Error(val message: String)

View File

@@ -1,9 +1,9 @@
package ai.pipecat.simple_chatbot_client.ui package ai.pipecat.simple_chatbot_client.ui
import ai.pipecat.simple_chatbot_client.R
import ai.pipecat.simple_chatbot_client.ui.theme.Colors
import ai.pipecat.client.daily.VoiceClientVideoView import ai.pipecat.client.daily.VoiceClientVideoView
import ai.pipecat.client.types.MediaTrackId import ai.pipecat.client.types.MediaTrackId
import ai.pipecat.simple_chatbot_client.R
import ai.pipecat.simple_chatbot_client.ui.theme.Colors
import androidx.compose.animation.animateColorAsState import androidx.compose.animation.animateColorAsState
import androidx.compose.foundation.background import androidx.compose.foundation.background
import androidx.compose.foundation.border import androidx.compose.foundation.border
@@ -15,7 +15,6 @@ import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.Icon import androidx.compose.material3.Icon
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.State
import androidx.compose.runtime.getValue import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier