File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/plugins/robot/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ const handleSendMessage = async (content: string) => {
224224 role: ' user' ,
225225 content: messageContent
226226 }
227- const files = selectedAttachments .value .filter ((item ) => item .status === ' done ' )
227+ const files = selectedAttachments .value .filter ((item ) => item .status === ' success ' )
228228 if (files .length > 0 ) {
229229 const fileMessages: ChatMessage [] = files .map ((file ) => ({
230230 role: ' user' ,
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ const handleModelChange = () => {
255255}
256256
257257const handleCompactModelChange = () => {
258- const [quickServiceId, quickModelName] = state .modelSelection .quickModel .split (' ::' )
258+ const [quickServiceId = ' ' , quickModelName = ' ' ] = ( state .modelSelection .quickModel || ' ' ) .split (' ::' )
259259 const updatedState = {
260260 quickModel: {
261261 serviceId: quickServiceId ,
You can’t perform that action at this time.
0 commit comments