<template>
    <view >
        <!-- index.wxml -->
        <agent-ui :agentConfig="agentConfig"></agent-ui>
    </view>
</template>

<script>
import agentUi from '@/components/agent-ui/index';

// index.js
export default {
    components: {
        // navigationBar,
        agentUi
    },
    data() {
        return {
            agentConfig: {
                type: 'bot',
                // 值为'bot'或'model'。当type='bot'时，botId必填；当type='model'时，modelName和model必填
                botId: 'bot-3e561e60',
                // agent id
            }
        };
    },
    methods: {}
};
</script>
<style></style>
