Polish project documentation and runtime config

This commit is contained in:
2026-06-09 10:22:59 +08:00
parent 5f061295d8
commit 0594fc9f8c
43 changed files with 1001 additions and 97 deletions

View File

@@ -1141,8 +1141,8 @@ export default function ManualIngestPanel() {
const fillSample = () => {
setText(SAMPLE_TEXT);
setRootEntity("花溪公园");
setSourceName("医学文档");
setSourceUrl("/Users/jier/upload/demo-manual-document.txt");
setSourceName("旅行示例文档");
setSourceUrl("demo-source://manual-ingest/huaxi-park.txt");
setBusinessScene("scenic");
};

View File

@@ -833,11 +833,13 @@ function resultPanelTitle(payload: AssistantPayload | null) {
if (mode === "nearby_resource") return "景区附近资源";
if (mode === "hotel_resource") return "酒店价格资源";
if (mode === "route_catalog") return "线路清单";
if (mode === "route_price") return "线路报价";
return "路线推荐";
}
function modeFallback(mode?: string) {
const labels: Record<string, string> = {
route_price: "线路报价",
route_catalog: "线路清单",
multi_task_agent: "多任务客服 Agent",
route_match_fast: "固定线路快速匹配",