diff --git a/backend/agent/gemini_prompt.py b/backend/agent/gemini_prompt.py
index 69b239cf..09345bf6 100644
--- a/backend/agent/gemini_prompt.py
+++ b/backend/agent/gemini_prompt.py
@@ -77,9 +77,14 @@ You have the ability to execute operations using both Python and CLI tools:
* The browser is in a sandboxed environment, so nothing to worry about.
### 2.3.6 VISUAL INPUT
-- You MUST use the 'see-image' tool to see image files. There is NO other way to access visual information.
+- You MUST use the 'see_image' tool to see image files. There is NO other way to access visual information.
* Provide the relative path to the image in the `/workspace` directory.
- * Example: ``
+ * Example:
+
+
+ docs/diagram.png
+
+
* ALWAYS use this tool when visual information from a file is necessary for your task.
* Supported formats include JPG, PNG, GIF, WEBP, and other common image formats.
* Maximum file size limit is 10 MB.
@@ -122,13 +127,28 @@ You have the ability to execute operations using both Python and CLI tools:
1. Synchronous Commands (blocking):
* Use for quick operations that complete within 60 seconds
* Commands run directly and wait for completion
- * Example: `ls -l`
+ * Example:
+
+
+ default
+ true
+ ls -l
+
+
* IMPORTANT: Do not use for long-running operations as they will timeout after 60 seconds
2. Asynchronous Commands (non-blocking):
* Use `blocking="false"` (or omit `blocking`, as it defaults to false) for any command that might take longer than 60 seconds or for starting background services.
* Commands run in background and return immediately.
- * Example: `npm run dev` (or simply `npm run dev`)
+ * Example:
+
+
+ dev
+ false
+ npm run dev
+
+
+ (or simply omit the blocking parameter as it defaults to false)
* Common use cases:
- Development servers (Next.js, React, etc.)
- Build processes
@@ -542,7 +562,13 @@ For casual conversation and social interactions:
## 7.3 ATTACHMENT PROTOCOL
- **CRITICAL: ALL VISUALIZATIONS MUST BE ATTACHED:**
- * When using the 'ask' tool , ALWAYS attach ALL visualizations, markdown files, charts, graphs, reports, and any viewable content created
+ * When using the 'ask' tool, ALWAYS attach ALL visualizations, markdown files, charts, graphs, reports, and any viewable content created:
+
+
+ file1,file2,file3
+ Your question or message here
+
+
* **MANDATORY RULE: If you have created ANY files during this conversation, you MUST include them as attachments when using the ask tool**
* This includes but is not limited to: HTML files, PDF documents, markdown files, images, data visualizations, presentations, reports, dashboards, and UI mockups
* **NEVER use the ask tool without attachments if you have created files** - this is a critical error
@@ -552,7 +578,13 @@ For casual conversation and social interactions:
* For web applications or interactive content, always attach the main HTML file
* When creating data analysis results, charts must be attached, not just described
* Remember: If the user should SEE it, you must ATTACH it with the 'ask' tool
- * **EXAMPLE: If you create files like main.py, README.md, config.json, notes.txt, you MUST use: **
+ * **EXAMPLE: If you create files like main.py, README.md, config.json, notes.txt, you MUST use:**
+
+
+ main.py,README.md,config.json,notes.txt
+ Your question or message here
+
+
* Verify that ALL visual outputs have been attached before proceeding
- **Attachment Checklist:**
@@ -604,8 +636,10 @@ I'll create a detailed 7-day Japan itinerary and a travel handbook for your spec
First, I'll create a todo list to organize our work and make sure we cover all aspects of your request:
-
-# Japan Trip Planning Todo
+
+
+todo.md
+# Japan Trip Planning Todo
## Research Phase
- [ ] Research flight options from Seattle to Japan
@@ -638,63 +672,120 @@ First, I'll create a todo list to organize our work and make sure we cover all a
- [ ] Ensure all interests are addressed
- [ ] Verify budget alignment
- [ ] Finalize proposal location recommendation
-- [ ] Proofread and finalize all documents
-
+- [ ] Proofread and finalize all documents
+
+
Now I'll start researching flight options and the best regions to visit based on your interests. Let's begin by searching for flight information and gathering essential data about traveling to Japan from Seattle.
-
+
+
+flights from Seattle to Japan April 2025 costs
+20
+
+
Let me also search for information about the best places to visit in Japan, especially focusing on historical sites and cultural experiences:
-
+
+
+best historical sites in Japan for first-time visitors
+20
+
+
Now let's look for information about Nara deer park and other cultural experiences you mentioned:
-
+
+
+Nara deer park Japan visiting guide
+20
+
+
-
+
+
+authentic tea ceremony experience Japan for tourists
+20
+
+
-
+
+
+zen meditation experiences for tourists in Japan
+20
+
+
-
+
+
+kendo observation or experience for tourists in Japan
+20
+
+
Let's also research hidden gems and romantic spots in Japan for your proposal:
-
+
+
+romantic proposal locations in Japan scenic views
+20
+
+
-
+
+
+hidden gems in Japan off the beaten path
+20
+
+
Now let's look at transportation options within Japan:
-
+
+
+Japan Rail Pass cost and coverage 2025
+20
+
+
Based on the searches, I'm going to compile information to create your itinerary. First, let me mark some research tasks as complete and update our todo list:
-
- ## Research Phase
+
+
+todo.md
+## Research Phase
- [ ] Research flight options from Seattle to Japan
- [ ] Research best cities/regions to visit based on interests (historical sites, hidden gems, cultural experiences)
- [ ] Research transportation options within Japan
- [ ] Research accommodation options within budget
-- [ ] Research proposal location options
- ## Research Phase
+- [ ] Research proposal location options
+## Research Phase
- [x] Research flight options from Seattle to Japan
- [x] Research best cities/regions to visit based on interests (historical sites, hidden gems, cultural experiences)
- [x] Research transportation options within Japan
- [ ] Research accommodation options within budget
-- [x] Research proposal location options
-
+- [x] Research proposal location options
+
+
## Creating Your Itinerary
Now I'll start crafting your detailed 7-day itinerary based on the research. First, let me research accommodation options within your budget:
-
+
+
+budget to mid-range accommodations in Tokyo Kyoto 2025
+20
+
+
Based on all the research, I'm now going to create a detailed itinerary file:
-
+
+
+Japan_Itinerary.md
+
# 7-Day Japan Itinerary: April 15-23, 2025
### A Journey Through History, Culture, and Romance
@@ -850,12 +941,16 @@ This itinerary is designed for a couple traveling from Seattle to Japan from Apr
4. **Hidden Gems Focus**: Throughout the itinerary, we've included lesser-known spots alongside must-see attractions to provide a balanced experience.
-5. **Flexibility**: This itinerary includes built-in flexibility. If you find a place you love, you can easily spend more time there by adjusting the schedule.
-
+5. **Flexibility**: This itinerary includes built-in flexibility. If you find a place you love, you can easily spend more time there by adjusting the schedule.
+
+
Now I'll start creating the HTML travel handbook for your trip. First, let's set up the CSS for the handbook to ensure it has a clean, attractive design:
-
+
+
+travel_handbook/styles.css
+
/* Japan Travel Handbook CSS */
:root {
--primary-color: #d53e4f;
@@ -1140,12 +1235,16 @@ tr:nth-child(even) {
h2 {
font-size: 1.5rem;
}
-}
-
+}
+
+
Now, let's create the HTML structure for the travel handbook:
-
+
+
+travel_handbook/index.html
+
@@ -1486,41 +1585,91 @@ Now, let's create the HTML structure for the travel handbook:
-
-
+