dayuan.jiang
6c641dbcf9
Feat: Add XML guide to prompt, update model and deps
...
- Integrate `xml_guide.md` into the system prompt to improve diagram generation by providing detailed XML formatting rules.
- Change the default AI model for chat completions to `openai("gpt-4.1")`.
- Update AI SDK packages (`@ai-sdk/amazon-bedrock`, `@ai-sdk/google`, `ai`) and other dependencies.
- Add `bun.lock` to the repository.
2025-05-22 00:44:24 +00:00
dayuan.jiang
78f2c4f60c
fix: Integrate smoothStream and enhance chat message display with args handling
2025-04-04 02:10:24 +00:00
dayuan.jiang
aeca1adf89
fix: Add maxDuration constant for chat API route
2025-04-04 01:48:15 +00:00
dayuan.jiang
a44918385a
fix: Enable tool call streaming in chat API route
2025-04-04 01:41:42 +00:00
dayuan.jiang
2d042af02b
fix: Disable tool call streaming in chat API route
2025-04-04 01:28:50 +00:00
dayuan.jiang
8f3c11e0e8
fix: Enhance chat message display with chart handling and import new SDKs
2025-04-04 01:26:16 +00:00
dayuan.jiang
645980fbb6
change model to claud 3.5
2025-04-03 15:10:53 +00:00
dayuan.jiang
bc7ef5c5d4
refactor: Move DiagramProvider to RootLayout for improved context management
2025-03-27 08:24:17 +00:00
dayuan.jiang
008bb9d486
refactor: Simplify Home component layout by integrating DiagramPageLayout functionality directly
2025-03-27 08:17:54 +00:00
dayuan.jiang
13ace596d2
refactor: move extractDiagramXML function to utils and remove unused file
2025-03-27 06:45:38 +00:00
dayuan.jiang
f650f7b28c
feat: add Vercel Analytics integration to the application
2025-03-26 13:44:02 +00:00
dayuan.jiang
64bb9dd900
refactor: simplify enhancedMessages construction in chat route
2025-03-26 10:58:48 +00:00
dayuan.jiang
09dc466b2a
minor: simplify DiagramPageLayout structure by removing unnecessary divs
2025-03-26 06:43:27 +00:00
dayuan.jiang
5c00c00584
refactor: extract all states to diagram-context.
2025-03-26 00:30:00 +00:00
dayuan.jiang
bd6946a13c
minor: fix the prompt
2025-03-25 10:56:08 +00:00
dayuan.jiang
5d152c66d5
fix: flash problem
2025-03-25 08:56:24 +00:00
dayuan.jiang
d2a630929b
refactor: chat-example-panel.tsx
2025-03-25 02:24:12 +00:00
dayuan.jiang
19dacfad30
fix: Corrected a bug where the current XML file was not attached to the user message.
2025-03-24 02:38:27 +00:00
dayuan.jiang
cc5c06de2e
fix: diagram history
2025-03-23 14:22:40 +00:00
dayuan.jiang
6819a92921
feat: implement diagram history functionality with history dialog in ChatInput and ChatPanel
2025-03-23 13:54:21 +00:00
dayuan.jiang
51d4536dbb
feat: remove Assistant component and implement drag-and-drop file upload in ChatInput
2025-03-23 12:56:47 +00:00
dayuan.jiang
385a103982
feat: remove unused SVG files and update layout metadata for Next-AI-Drawio
2025-03-23 12:48:31 +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
cfe3445a4f
feat: enhance ChatPanel with tool call streaming and update diagram handling
2025-03-22 15:00:40 +00:00
dayuan.jiang
fc4383dfb5
feat: update tool names and descriptions for diagram handling, add clear messages functionality in ChatInput
2025-03-22 14:28:55 +00:00
dayuan.jiang
1978be09f4
refactor: remove unused components and clean up ChatPanel layout
2025-03-22 12:43:24 +00:00
dayuan.jiang
bb753c4140
feat: update system message to reflect diagram terminology and integrate OpenAI model
2025-03-19 12:02:07 +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
dayuan.jiang
ec80a6c578
refactor: remove unused WebSearchToolUI component and update onFetchChart to return a Promise
2025-03-19 09:46:30 +00:00
dayuan.jiang
51ce74400d
feat: add system message for flowchart assistance and improve message handling in chat API
2025-03-19 08:40:08 +00:00
dayuan.jiang
585c3bac1f
feat: enhance chat functionality with flowchart tools integration and improved UI interactions
2025-03-19 08:16:44 +00:00
dayuan.jiang
5a11c32bc4
feat: add WebSearchToolUI component and input UI, integrate Radix UI scroll area
2025-03-19 07:20:22 +00:00
dayuan.jiang
5d1a33b18d
fix: decode URL-encoded content in extractDiagramXML function
2025-03-19 06:19:08 +00:00
dayuan.jiang
10f9459627
refactor: change extractDiagramXML to synchronous function and improve error handling in the UI
2025-03-19 06:11:04 +00:00
dayuan.jiang
e26ef731e9
initialize project with Next.js, Tailwind CSS, and essential configurations
2025-03-19 06:04:06 +00:00