mirror of
https://github.com/jihe520/MathModelAgent.git
synced 2026-09-19 08:09:48 +08:00
update
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
DialogDescription,
|
||||
DialogHeader,
|
||||
DialogTitle,
|
||||
DialogClose,
|
||||
} from '@/components/ui/dialog'
|
||||
import { Button } from '@/components/ui/button'
|
||||
|
||||
const modelValue = defineModel({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Dialog :open="modelValue" @update:open="modelValue = false">
|
||||
<DialogContent>
|
||||
|
||||
<DialogHeader>
|
||||
<DialogTitle>更多</DialogTitle>
|
||||
<DialogDescription>
|
||||
更多信息
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div>
|
||||
运行的结果:
|
||||
backend/project/work_dir/xxx/*
|
||||
<br>
|
||||
- notebook.ipynb: 保存运行过程中产生的代码<br>
|
||||
|
||||
- res.md: 保存最后运行产生的结果为 markdown 格式
|
||||
</div>
|
||||
|
||||
<div>
|
||||
修改模板:
|
||||
backend/app/config/md_template.toml
|
||||
</div>
|
||||
|
||||
<div>
|
||||
修改提示词
|
||||
backend/app/core/prompts.py
|
||||
</div>
|
||||
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</template>
|
||||
@@ -4,13 +4,14 @@
|
||||
import AppSidebar from '@/components/AppSidebar.vue'
|
||||
import UserStepper from '@/components/UserStepper.vue'
|
||||
import ModelingExamples from '@/components/ModelingExamples.vue'
|
||||
import { onMounted } from 'vue'
|
||||
import { onMounted, ref } from 'vue'
|
||||
import {
|
||||
SidebarInset,
|
||||
SidebarProvider,
|
||||
SidebarTrigger,
|
||||
} from '@/components/ui/sidebar'
|
||||
import { getHelloWorld } from '@/apis/commonApi'
|
||||
import MoreDetail from '@/pages/chat/components/MoreDetail.vue'
|
||||
import Button from '@/components/ui/button/Button.vue'
|
||||
import { AppWindow, CircleEllipsis } from 'lucide-vue-next'
|
||||
onMounted(() => {
|
||||
@@ -18,17 +19,22 @@ onMounted(() => {
|
||||
console.log(res.data)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
const isMoreDetailOpen = ref(false)
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
<SidebarProvider>
|
||||
<MoreDetail v-model="isMoreDetailOpen" />
|
||||
<AppSidebar />
|
||||
<SidebarInset>
|
||||
<header class="flex h-16 shrink-0 items-center gap-2 px-4">
|
||||
<SidebarTrigger class="-ml-1" />
|
||||
<div class="flex justify-end w-full gap-2">
|
||||
<Button variant="outline">
|
||||
<Button variant="outline" @click="isMoreDetailOpen = true">
|
||||
<CircleEllipsis />
|
||||
更多
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user