# 編輯路線與生成行程

完成需求診斷後，系統會進入「大路線規劃」階段，這也是您在生成最終細部行程前，唯一且最重要的人為介入點。

## 1. 路線編輯 (Route Editor)

在這個畫面上，您會看到 AI 根據需求初步規劃的「每一天的落腳城市與大方向」。

* **自由拖曳 (Drag & Drop)**：如果您不滿意 AI 的順序，可以直接按住節點左側的把手，上下拖曳來改變天數順序。
* **查看對應日期**：每個天數節點（如 Day 1）下方，都會顯示真實的西元日期（如 2026-05-01），方便您核對機票或飯店時間。
* **新增節點**：如果客戶想多留一天，可以點擊下方的「加入新路線」，手動輸入城市名稱與簡單描述。
* **刪除節點**：滑鼠移至節點上，點擊右側出現的垃圾桶圖示即可刪除。

## 2. 生成詳細行程

當您對大方向的路線滿意後，點擊畫面底部的 **「確認並生成詳細行程」**。 這是一個耗時較長的 AI 操作（通常需要 10-30 秒），系統會顯示全畫面的 Loading，請耐心等候。

## 3. 行程編輯器 (Itinerary Editor)

生成完成後，您會進入最終的行程編輯畫面。這裡列出了每天早、午、晚的具體活動與餐食。

* **左側編輯區**：
  * 您可以點擊任何一個活動卡片，直接修改標題、時間或描述。
  * 點擊每卡片右上角的「+」按鈕，可以新增額外的活動。
* **右側私房推薦面板 (Recommendation Sheet)**：
  * 如果您覺得 AI 排的某個景點不夠好，可以打開右側的面板，系統會列出您「我的最愛」中符合該城市的地點。
  * 您可以直接將右側的名單 **拖曳 (Drag)** 到左側的時間軸上，完成替換或新增！
* **生成簡報提示詞**：
  * 點擊頂部的「產生簡報提示詞」，系統會根據當前行程萃取出關鍵地標，並幫您寫好可以直接貼給 Gemini Canvas 或 Gamma.app 的 Prompt，讓您一鍵產出精美提案簡報。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://letztek.gitbook.io/travelagent/docs/zh/manual/route-and-itinerary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
