实现了 AI 对话、图片识别与营养分析、健康数据管理三大核心功能: - AI 对话:集成豆包大语言模型,支持流式输出和多轮对话 - 图片识别:使用视觉模型识别食物,自动分析卡路里和营养成分 - 健康档案:支持饮食记录、运动记录和数据统计,数据持久化存储 - UI 优化:使用 shadcn/ui 组件库,现代化响应式设计 所有功能已完成开发并通过类型检查。
35 lines
670 B
JSON
35 lines
670 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts",
|
|
"**/*.mts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|