Skip to content

Commit

Permalink
fix(tabby-ui): fix chat panel cannot navigate format output: (#3504)
Browse files Browse the repository at this point in the history
* chore: adding navigation with format output in chat panel

* feat(chat): add isInEditor prop to Chat components for enhanced context handling

* refactor(chat): remove isInEditor prop from Chat components for cleaner context management
  • Loading branch information
Sma1lboy authored Dec 5, 2024
1 parent d109f77 commit 1078559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ee/tabby-ui/components/chat/question-answer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ function AssistantMessageCard(props: AssistantMessageCardProps) {
}}
// When onApplyInEditor is null, it means isInEditor === false, thus there's no need to showExternalLink
showExternalLink={!!onApplyInEditor}
isInEditor={!!onApplyInEditor}
showClientCodeIcon={!onApplyInEditor}
highlightIndex={relevantCodeHighlightIndex}
triggerClassname="md:pt-0"
Expand Down

0 comments on commit 1078559

Please sign in to comment.