feat:增加美食分析助手

This commit is contained in:
2026-07-04 20:25:51 +08:00
parent 0ec0bba2fa
commit 3535d33c4b
7 changed files with 254 additions and 83 deletions

16
src/types/agent.ts Normal file
View File

@@ -0,0 +1,16 @@
export interface IChatMessage {
role: 'user' | 'ai';
content: string;
}
export interface IAgentMessage {
username: string;
message: string;
thread_id: string;
}
export interface ISessionMessage {
username: string;
title: string;
thread_id: string;
}