diff --git a/README.md b/README.md
index 95351bd..c9a2916 100644
--- a/README.md
+++ b/README.md
@@ -112,6 +112,7 @@ Join our networking group on Feishu and share your experience with other develop
## Acknowledgement
-Thanks to [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) and [broswer-use](https://github.com/browser-use/browser-use) for providing basic support for this project!
+Thanks to [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo)
+and [browser-use](https://github.com/browser-use/browser-use) for providing basic support for this project!
OpenManus is built by contributors from MetaGPT. Huge thanks to this agent community!
diff --git a/README_tw.md b/README_tw.md
index 85b9cc8..5519057 100644
--- a/README_tw.md
+++ b/README_tw.md
@@ -112,6 +112,7 @@ python run_flow.py
## 致謝
-感謝 [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) 和 [broswer-use](https://github.com/browser-use/browser-use) 為本項目提供基本支持!
+感謝 [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo)
+和 [browser-use](https://github.com/browser-use/browser-use) 為本項目提供基本支持!
OpenManus 由 MetaGPT 的貢獻者構建。非常感謝這個代理社區!
diff --git a/README_zh.md b/README_zh.md
index af8ece8..dae4c5f 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -112,6 +112,7 @@ python run_flow.py
## 致谢
-特别感谢 [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) 和 [broswer-use](https://github.com/browser-use/browser-use) 为本项目提供的基础支持!
+特别感谢 [anthropic-computer-use](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo)
+和 [browser-use](https://github.com/browser-use/browser-use) 为本项目提供的基础支持!
OpenManus 由 MetaGPT 社区的贡献者共同构建,感谢这个充满活力的智能体开发者社区!
diff --git a/app/agent/toolcall.py b/app/agent/toolcall.py
index 374a6eb..b3b6439 100644
--- a/app/agent/toolcall.py
+++ b/app/agent/toolcall.py
@@ -154,7 +154,7 @@ class ToolCallAgent(ReActAgent):
except json.JSONDecodeError:
error_msg = f"Error parsing arguments for {name}: Invalid JSON format"
logger.error(
- f"📝 Oops! The arguments for '{name}' don't make sense - invalid JSON"
+ f"📝 Oops! The arguments for '{name}' don't make sense - invalid JSON, arguments:{command.function.arguments}"
)
return f"Error: {error_msg}"
except Exception as e:
diff --git a/app/logger.py b/app/logger.py
index 29c0bd9..c5d9ce1 100644
--- a/app/logger.py
+++ b/app/logger.py
@@ -15,7 +15,7 @@ def define_log_level(print_level="INFO", logfile_level="DEBUG", name: str = None
_print_level = print_level
current_date = datetime.now()
- formatted_date = current_date.strftime("%Y%m%d")
+ formatted_date = current_date.strftime("%Y%m%d%H%M%S")
log_name = (
f"{name}_{formatted_date}" if name else formatted_date
) # name a log with prefix name
diff --git a/examples/japan-travel-plan/japan_travel_guide_instructions.txt b/examples/japan-travel-plan/japan_travel_guide_instructions.txt
new file mode 100644
index 0000000..a45128f
--- /dev/null
+++ b/examples/japan-travel-plan/japan_travel_guide_instructions.txt
@@ -0,0 +1,62 @@
+JAPAN TRAVEL HANDBOOK - GUIDE TO VERSIONS
+
+Location: D:/OpenManus/
+
+1. DETAILED DIGITAL VERSION
+File: japan_travel_handbook.html
+Best for: Desktop/laptop viewing
+Features:
+- Complete comprehensive guide
+- Detailed itinerary
+- Full proposal planning section
+- All hotel recommendations
+- Comprehensive budget breakdown
+Usage: Open in web browser for trip planning and detailed reference
+
+2. PRINT-FRIENDLY VERSION
+File: japan_travel_handbook_print.html
+Best for: Physical reference during travel
+Features:
+- Condensed essential information
+- Optimized for paper printing
+- Clear, printer-friendly formatting
+- Quick reference tables
+Usage: Print and keep in travel documents folder
+
+3. MOBILE-OPTIMIZED VERSION
+File: japan_travel_handbook_mobile.html
+Best for: On-the-go reference during trip
+Features:
+- Touch-friendly interface
+- Collapsible sections
+- Quick access emergency buttons
+- Dark mode support
+- Responsive design
+Usage: Save to phone's browser bookmarks for quick access
+
+RECOMMENDED SETUP:
+1. Before Trip:
+ - Use detailed version for planning
+ - Print the print-friendly version
+ - Save mobile version to phone
+
+2. During Trip:
+ - Keep printed version with travel documents
+ - Use mobile version for daily reference
+ - Access detailed version when needed for specific information
+
+3. Emergency Access:
+ - Mobile version has quick-access emergency information
+ - Keep printed version as backup
+ - All emergency numbers and contacts in both versions
+
+Note: All versions contain the same core information but are formatted differently for optimal use in different situations.
+
+IMPORTANT DATES:
+- Trip Duration: April 15-23, 2024
+- Proposal Day: April 19, 2024
+- Key Reservation Deadlines:
+ * Flights: Book by January 2024
+ * Hotels: Book by February 2024
+ * Restaurant Reservations: Book by January 2024
+ * JR Pass: Purchase by March 2024
diff --git a/examples/japan-travel-plan/japan_travel_handbook.html b/examples/japan-travel-plan/japan_travel_handbook.html
new file mode 100644
index 0000000..5b5965e
--- /dev/null
+++ b/examples/japan-travel-plan/japan_travel_handbook.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+ Japan Travel Handbook - April 15-23, 2024
+
+
+
+
+ [Previous content remains the same...]
+
+
+
🌸 Proposal Planning Guide 🌸
+
+
Ring Security & Transport
+
+
Carrying the Ring:
+
+
Always keep the ring in your carry-on luggage, never in checked bags
+
Use a discrete, non-branded box or case
+
Consider travel insurance that covers jewelry
+
Keep receipt/appraisal documentation separate from the ring
+
+
+
Airport Security Tips:
+
+
No need to declare the ring unless value exceeds ¥1,000,000 (~$6,700)
+
If asked, simply state it's "personal jewelry"
+
Consider requesting private screening to maintain surprise
+
Keep ring in original box until through security, then transfer to more discrete case
+
+
+
+
+
Proposal Location Details - Maruyama Park
+
+
Best Timing:
+
+
Date: April 19 (Day 5)
+
Time: 5:30 PM (30 minutes before sunset)
+
Park closes at 8:00 PM in April
+
+
+
Specific Spot Recommendations:
+
+
Primary Location: Near the famous weeping cherry tree
+ - Less crowded in early evening
+ - Beautiful illumination starts at dusk
+ - Iconic Kyoto backdrop
+
+
Backup Location: Gion Shirakawa area
+ - Atmospheric stone-paved street
+ - Traditional buildings and cherry trees
+ - Beautiful in light rain
+
+
+
+
+
+
Proposal Day Planning
+
+
Morning Preparation:
+
+
Confirm weather forecast
+
Transfer ring to secure pocket/bag
+
Have backup indoor location details ready
+
+
+
Suggested Timeline:
+
+
4:00 PM: Start heading to Maruyama Park area
+
4:30 PM: Light refreshments at nearby tea house
+
5:15 PM: Begin walk through park
+
5:30 PM: Arrive at proposal spot
+
6:00 PM: Sunset and illumination begins
+
7:00 PM: Celebratory dinner reservation
+
+
+
+
+
Celebration Dinner Options
+
+
Traditional Japanese: Kikunoi Roan
+ - Intimate 2-star Michelin restaurant
+ - Advance reservation required (3 months)
+ - Price: ¥15,000-20,000 per person
+
+
Modern Fusion: The Sodoh
+ - Beautiful garden views
+ - Western-style seating available
+ - Price: ¥12,000-15,000 per person
+
+
+
+
+
Important Notes:
+
+
Keep proposal plans in separate notes from shared itinerary
+
Have a backup plan in case of rain (indoor locations listed above)
+
Consider hiring a local photographer to capture the moment
+
Save restaurant staff contact info in case of timing changes