Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(opencode): show actual model per turn #6551

ClosedKarmCraft(GitHub profile, opens in a new tab)wants to merge 9 commits intomain fromrefs/pull/6551/headopened View on GitHub

Showing 20 changed files with 21 additions and 0 deletions (loading 17).

x
0 of 20 viewed, 20 left
9 additions and 0 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -979,6 +979,15 @@
})}
{showAssistantMeta ? (
<View className="mt-1 flex-row items-center gap-1">
+ {message.actualModel ? (
+ <Text
+ accessibilityLabel={`Actual model: ${message.actualModel}`}
+ className="mr-1 max-w-[70%] font-t3-medium text-xs text-neutral-600 dark:text-neutral-400"
+ numberOfLines={1}
+ >
+ Model: {message.actualModel}
+ </Text>
+ ) : null}
<CopyTextButton
accessibilityLabel="Copy message"
text={message.text}
5 additions and 0 deletionsapps/server/src/orchestration/Layers/ProjectionPipeline.tsModified
View file
@@ -978,6 +978,11 @@
turnId: event.payload.turnId,
role: event.payload.role,
text: nextText,
+ ...(event.payload.actualModel !== undefined
+ ? { actualModel: event.payload.actualModel }
+ : previousMessage?.actualModel !== undefined
+ ? { actualModel: previousMessage.actualModel }
+ : {}),
...(nextAttachments !== undefined ? { attachments: [...nextAttachments] } : {}),