fix
Some checks failed
Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2025-09-28 15:30:48 +08:00
parent c6d2e17476
commit 9758322f27
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ export const loading = ref(false)
export async function getAIAnalysis() { export async function getAIAnalysis() {
analysis.value = "" analysis.value = ""
// 使用 streaming 流式方式 fetch /ai/analysis 接口,传入 code 和 error_info // 使用 streaming 流式方式 fetch /ai 接口,传入 code 和 error_info
const baseUrl = import.meta.env.PUBLIC_CODEAPI_URL const baseUrl = import.meta.env.PUBLIC_CODEAPI_URL
loading.value = true loading.value = true
try { try {

View File

@@ -141,7 +141,7 @@ watch(turtleRunId, () => runSkulptTurtle())
运行成功 运行成功
</n-tag> </n-tag>
<n-tag v-if="showAnalysis" type="warning">运行失败</n-tag> <n-tag v-if="showAnalysis" type="warning">运行失败</n-tag>
<n-popover v-if="showAnalysis" trigger="click"> <n-popover v-if="showAnalysis" trigger="click" placement="left">
<template #trigger> <template #trigger>
<n-button quaternary type="error" @click="getAIAnalysis"> <n-button quaternary type="error" @click="getAIAnalysis">
推测原因 推测原因