Skip to content

Commit

Permalink
perf: fix ai-assistant answer too long problem
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jul 7, 2023
1 parent 1384e49 commit b419f44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const Tip = styled.div`

const Answer = styled.pre`
white-space: pre-wrap;
max-height: 50vh;
overflow: auto;
`;

const ActionButton = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import axios from 'axios';

const PROJECT_ROOT = path.resolve(__dirname, '../../../../../');

/**
* Entry
*/
(async () => {
const start = Date.now();
const paths = await globby(['**.tsx'], {
Expand Down

0 comments on commit b419f44

Please sign in to comment.