Skip to content
Source
Sign inSign up
pingdotgg/t3code

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

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

Showing 21 changed files with 18 additions and 2 deletions (loading 18).

x
0 of 21 viewed, 21 left
9 additions and 0 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -1727,6 +1727,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-secondary-foreground text-xs"
+ numberOfLines={1}
+ >
+ Model: {message.actualModel}
+ </Text>
+ ) : null}
<CopyTextButton
accessibilityLabel="Copy message"
text={renderedText}
5 additions and 0 deletionsapps/server/src/orchestration/Layers/ProjectionPipeline.tsModified
View file
@@ -1170,6 +1170,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] } : {}),