Skip to content

Commit

Permalink
fix(u): correct error message for expeired thread (#3224)
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung authored Sep 30, 2024
1 parent 748c7d2 commit 7219f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-ui/components/chat/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ function formatThreadRunErrorMessage(error: ExtendedCombinedError | undefined) {
if (
some(error.graphQLErrors, o => o.extensions?.code === ERROR_CODE_NOT_FOUND)
) {
return `The thread has expired, please click ${"'"}clear${"'"} and then retry.`
return `The thread has expired, please click ${"'"}Clear${"'"} and try again.`
}

return error.message || 'Failed to fetch'
Expand Down

0 comments on commit 7219f6e

Please sign in to comment.