Skip to content

Commit

Permalink
add cache information from About API to the About page (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable authored Jan 4, 2024
1 parent 3e0e540 commit 778f23f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/@types/parseable/api/about.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ export type AboutData = {
uiVersion: string;
grpcPort: number;
oidcActive: boolean;
cache: string;
};
4 changes: 4 additions & 0 deletions src/components/Navbar/infoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ const InfoModal: FC<InfoModalProps> = (props) => {
<Text className={aboutTextValue}>{data.store}</Text>
</Box>
<Box className={aboutTextInnerBox}>
<Text className={aboutTextKey}>Cache</Text>
<Text className={aboutTextValue}>{data.cache}</Text>
</Box>
<Box className={aboutTextInnerBox}>
<Text className={aboutTextKey}>LLM Status</Text>
<Text className={aboutTextValue}>{llmStatus}</Text>
</Box>
Expand Down

0 comments on commit 778f23f

Please sign in to comment.