Skip to content

Commit

Permalink
fix(chat): fix marketplace model apply (Issue #3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kezik committed Feb 7, 2025
1 parent dbb5663 commit 5ab502a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/chat/src/store/conversations/conversations.epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3018,12 +3018,14 @@ const applyMarketplaceModelEpic: AppEpic = (action$, state$) =>
ConversationsActions.updateConversation({
id: conversation?.id as string,
values: {
...getConversationModelParams(
conversation as Conversation,
modelToApply?.reference,
modelsMap,
addonsMap,
),
...(conversation
? getConversationModelParams(
conversation as Conversation,
modelToApply?.reference,
modelsMap,
addonsMap,
)
: {}),
},
}),
),
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"vitest": "^1.6.1"
},
"overrides": {
"cross-spawn": "7.0.6",
"js-yaml": "4.1.0",
"argparse": "2.0.1"
},
Expand Down

0 comments on commit 5ab502a

Please sign in to comment.