Skip to content

Commit

Permalink
chore(version): 0.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Sep 25, 2024
1 parent bb137cc commit 74d5355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CherryStudio",
"version": "0.7.7",
"version": "0.7.8",
"private": true,
"description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js",
Expand All @@ -27,7 +27,7 @@
"build:linux": "dotenv electron-vite build && electron-builder --linux --publish never",
"release": "node scripts/version.js",
"publish": "yarn release patch push",
"generate:icons":"electron-icon-builder --input=./build/logo.png --output=build"
"generate:icons": "electron-icon-builder --input=./build/logo.png --output=build"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.0",
Expand Down
6 changes: 4 additions & 2 deletions src/renderer/src/pages/settings/AssistantSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const AssistantSettings: FC = () => {
temperature: settings.temperature ?? temperature,
contextCount: settings.contextCount ?? contextCount,
enableMaxTokens: settings.enableMaxTokens ?? enableMaxTokens,
maxTokens: settings.maxTokens ?? maxTokens
maxTokens: settings.maxTokens ?? maxTokens,
streamOutput: settings.streamOutput ?? true
}
})
}
Expand Down Expand Up @@ -63,7 +64,8 @@ const AssistantSettings: FC = () => {
temperature: DEFAULT_TEMPERATURE,
contextCount: DEFAULT_CONEXTCOUNT,
enableMaxTokens: false,
maxTokens: DEFAULT_MAX_TOKENS
maxTokens: DEFAULT_MAX_TOKENS,
streamOutput: true
}
})
}
Expand Down

0 comments on commit 74d5355

Please sign in to comment.