Skip to content

Commit

Permalink
chore(version): 0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Sep 19, 2024
1 parent 3722244 commit 9374541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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.7.3",
"version": "0.7.4",
"private": true,
"description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js",
Expand Down
4 changes: 1 addition & 3 deletions src/renderer/src/providers/OpenAIProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ export default class OpenAIProvider extends BaseProvider {
text = text + fileNameRow + fileContent + divider
}

message.content = message.content + divider + text

return {
role: message.role,
content: message.content
content: message.content + divider + text
}
}
}
Expand Down

0 comments on commit 9374541

Please sign in to comment.