feat: connect chat and runs, cancellable chat messages, unified frontend runs module
This commit is contained in:
1 parent
d7e92f38f3
commit
bc71fa4d59
7 files changed
+244
-119
No files matched your search
@@ -18,6 +18,10 @@ const props = defineProps({
|
||||
message: {
|
||||
type: Object,
|
||||
required: true
|
||||
},
|
||||
cancellable: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
}
|
||||
});
|
||||
|
||||
@@ -59,6 +63,8 @@ function chatEntryClass(msg) {
|
||||
<a href="#" @click.prevent="$emit('toggleThread', message.threadId, !message.expanded)">{{message.expanded ? "Hide" : "Show"}}</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<button v-if="cancellable" @click="$emit('cancel')">Cancel</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in new issue
Block a user