@@ -97,6 +97,8 @@ private fun ReasoningBlock(text: String, streaming: Boolean, modifier: Modifier)
9797 var expanded by rememberSaveable { mutableStateOf(false) }
9898 val expandedState = stringResource(R.string.state_expanded)
9999 val collapsedState = stringResource(R.string.state_collapsed)
100+ val thinkingLabel = stringResource(R.string.thinking)
101+ val thoughtsLabel = stringResource(R.string.thoughts)
100102 Column(modifier = modifier.fillMaxWidth()) {
101103 Row(
102104 modifier = Modifier
@@ -110,7 +112,6 @@ private fun ReasoningBlock(text: String, streaming: Boolean, modifier: Modifier)
110112 verticalAlignment = Alignment.CenterVertically,
111113 ) {
112114 if (streaming) {
113− val thinkingLabel = stringResource(R.string.thinking)
114115 CircularProgressIndicator(
115116 Modifier.size(14.dp).semantics { contentDescription = thinkingLabel },
116117 strokeWidth = 2.dp,
@@ -125,7 +126,7 @@ private fun ReasoningBlock(text: String, streaming: Boolean, modifier: Modifier)
125126 )
126127 }
127128 Text(
128− if (streaming) stringResource(R.string.thinking) else stringResource(R.string.thoughts),
129+ if (streaming) thinkingLabel else thoughtsLabel,
129130 style = MaterialTheme.typography.labelMedium,
130131 color = MaterialTheme.colorScheme.onSurfaceVariant,
131132 modifier = Modifier.padding(start = 6.dp),