Skip to content

Commit

Permalink
chore(version): 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Sep 14, 2024
1 parent 71a35cc commit a654ccc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CherryStudio",
"version": "0.6.14",
"version": "0.7.0",
"private": true,
"description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/files/FilesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const FilesPage: FC = () => {
const dataSource = files?.map((file) => ({
key: file.id,
file: <Image src={'file://' + file.path} preview={false} style={{ maxHeight: '40px' }} />,
name: <a href={'file://' + file.path}>{file.name}</a>,
name: <a href={'file://' + file.path}>{file.origin_name}</a>,
size: `${(file.size / 1024 / 1024).toFixed(2)} MB`,
created_at: dayjs(file.created_at).format('MM-DD HH:mm')
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const SelectModelDropdown: FC<Props & PropsWithChildren> = ({ children, model, o
{upperFirst(m?.name)} {isVisionModel(m) && <VisionIcon />}
</div>
),
defaultSelectedKeys: model ? [getModelUniqId(model)] : [],
icon: (
<Avatar src={getModelLogo(m?.id || '')} size={24}>
{first(m?.name)}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export interface FileType {
path: string
size: number
ext: string
type: FileType
type: FileTypes
created_at: Date
count: number
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ __metadata:
remark-math: "npm:^6.0.0"
sass: "npm:^1.77.2"
styled-components: "npm:^6.1.11"
typescript: "npm:^5.3.3"
typescript: "npm:^5.6.2"
uuid: "npm:^10.0.0"
vite: "npm:^5.0.12"
peerDependencies:
Expand Down Expand Up @@ -8841,7 +8841,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^5.3.3":
"typescript@npm:^5.3.3, typescript@npm:^5.6.2":
version: 5.6.2
resolution: "typescript@npm:5.6.2"
bin:
Expand All @@ -8851,7 +8851,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.6.2#optional!builtin<compat/typescript>":
version: 5.6.2
resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>::version=5.6.2&hash=379a07"
bin:
Expand Down

0 comments on commit a654ccc

Please sign in to comment.