Skip to content

Conversation

thatfiredev
Copy link
Member

@thatfiredev thatfiredev commented May 19, 2025

CI will fail at the moment, since the SDK has not been released yet. I will make sure it's green after the SDK is released and only merge by then.

Fast follows:

  • Add a Function calling example
  • Add a Stream Realtime example

@thatfiredev thatfiredev requested a review from marinacoelho May 19, 2025 14:05
textAlign = TextAlign.End,
modifier = Modifier
.background(backgroundColor.copy(
red = backgroundColor.red * 0.7f,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: create color variables in Color.kt and add the transparency using hex color code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backgroundColor property here is dynamic and it changes according to the color set at the OS-level, so it can't really be hardcoded into Color.kt.

    val backgroundColor = when (chatMessage.role) {
        "user" -> MaterialTheme.colorScheme.tertiaryContainer
        else -> MaterialTheme.colorScheme.secondaryContainer
    }

Copy link
Contributor

@marinacoelho marinacoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking very good! Just left a few comments (not all of them are blockers). We should also add a README before merging it :)

@thatfiredev thatfiredev merged commit 0e37b0b into master May 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants