Skip to content

Commit

Permalink
chore(version): 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Sep 19, 2024
1 parent d9873b4 commit 0ee72a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.2",
"version": "0.7.3",
"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/providers/OpenAIProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class OpenAIProvider extends BaseProvider {
): Promise<OpenAI.Chat.Completions.ChatCompletionMessageParam> {
const isVision = isVisionModel(model)

if (message.role !== 'user') {
if (!message.files) {
return {
role: message.role,
content: message.content
Expand Down

0 comments on commit 0ee72a9

Please sign in to comment.