Commit Graph

4 Commits

Author SHA1 Message Date
Dayuan Jiang
a8e627f1f8 feat: add XML structure guide to system prompt for smaller models (#51)
- Add essential draw.io XML structure rules to system prompt
- Include critical rules about mxCell nesting (all must be direct children of root)
- Add shape/vertex and connector/edge examples with proper structure
- Improve tool description for display_diagram with validation rules
- Update xml_guide.md with better swimlane examples showing flat structure
- Add client-side XML validation to catch nested mxCell errors early

Helps address issues #40 (local Ollama models not working) and #39 (mxCell nesting errors)
2025-12-03 16:14:53 +09:00
dayuan.jiang
bd6946a13c minor: fix the prompt 2025-03-25 10:56:08 +00:00
dayuan.jiang
50dc4eda6d feat: enhance ChatPanel and ChatInput to support image file uploads and display 2025-03-23 11:03:25 +00:00
dayuan.jiang
7caaa358e4 feat: enhance chat functionality with XML guide integration and improved tool descriptions 2025-03-19 11:03:37 +00:00