Skip to content

Commit

Permalink
Merge pull request #1876 from solliancenet/jdh-clear-uploads-083
Browse files Browse the repository at this point in the history
(0.8.3) Allow multiple files per conversation & do not override user prompt on orchestration error
  • Loading branch information
ciprianjichici authored Oct 14, 2024
2 parents 26e1d47 + 1adb270 commit 94fbd25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/dotnet/Core/Services/CoreService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,7 @@ await _cosmosDBService.UpsertLongRunningOperationContextAsync(new LongRunningOpe
ItemId = conversationItems.UserMessage.Id,
PropertyValues = new Dictionary<string, object?>
{
{ "/status", OperationStatus.Failed },
{ "/text", result.StatusMessage }
{ "/status", OperationStatus.Failed }
}
},
new PatchOperationItem<Message>
Expand Down
3 changes: 2 additions & 1 deletion src/ui/UserPortal/components/ChatInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ export default {
handleSend() {
this.$emit('send', this.text);
this.text = '';
this.uploadedFiles = [];
const sessionId = this.$appStore.currentSession.sessionId;
this.clearFilesForSession(sessionId);
this.text = DEFAULT_INPUT_TEXT;
},
Expand Down

0 comments on commit 94fbd25

Please sign in to comment.