Skip to content

AgentArtifact ​

Artifact card for code, documents, files, and images.

Demo ​

AgentArtifactOne public API for H5 and Wevu
Live state
Release readiness workflowAgentArtifact
代码产物@varo-ui/aits
const controller = createAgentStreamController()
await controller.connect(events)

Basic Usage ​

vue
<script setup lang="ts">
import { AgentArtifact } from '@/components/agent-ui'
</script>

<template>
  <AgentArtifact :artifact="artifact" @open="openArtifact" />
</template>

Props ​

PropTypeDefaultDescription
artifactAgentArtifactItemrequiredArtifact data

Events ​

EventPayloadDescription
openAgentArtifactItemOpen artifact

Target notes

TargetImport
H5Named export from @/components/agent-ui
weapp@/components/agent-ui/AgentArtifact.vue