dayuan.jiang
58dcb3c41a
feat: add OpenRouter support and fix input disabling
...
- Add OpenRouter provider support with @openrouter/ai-sdk-provider
- Fix input not disabling during 'submitted' state for fast providers
- Apply disable logic to all interactive elements (textarea, buttons, handlers)
- Clean up env.example by removing model examples and separator blocks
- Upgrade zod to v4.1.12 for compatibility with ollama-ai-provider-v2
- Add debug logging for status changes in chat components
2025-11-15 14:29:18 +09:00
dayuan.jiang
7124bf03e9
minor: add some placeholder
2025-04-03 15:31:13 +00:00
dayuan.jiang
1e680640b8
feat: Add clipboard paste handling in ChatInput for image uploads
2025-04-03 15:18:14 +00:00
dayuan.jiang
0a895fda1e
minor: remove unused function
2025-03-27 08:13:26 +00:00
dayuan.jiang
6c8b5c48a2
refactor: Relocate handleClear Logic: Move the chat and diagram clearing logic to ChatPanel (or a Server Action) and have ChatInput call the onClearChat prop. Introduce a clearDiagram method in DiagramContext.
2025-03-27 08:09:22 +00:00
dayuan.jiang
7e0790d60f
refactor: update setFiles prop type to accept File[] and simplify file handling
2025-03-27 08:02:03 +00:00
dayuan.jiang
34cc437523
refactor: Reduce Prop Drilling & Improve Separation of Concerns:
2025-03-27 07:48:19 +00:00
dayuan.jiang
fa72097838
refactor: replace Tooltip components with ButtonWithTooltip in ChatInput
2025-03-26 10:32:33 +00:00
dayuan.jiang
da98a184f9
refactor: extract ResetWarningModal from chat-input.tsx
2025-03-26 08:58:46 +00:00
dayuan.jiang
3b4072b113
refactor: extract HistoryDialog component
2025-03-26 08:51:21 +00:00
dayuan.jiang
5c00c00584
refactor: extract all states to diagram-context.
2025-03-26 00:30:00 +00:00
dayuan.jiang
dedb5855c3
refactor: move message-display to seperate component.
2025-03-25 02:58:11 +00:00
dayuan.jiang
f44346762f
fix: style
2025-03-23 14:36:21 +00:00
dayuan.jiang
762b970cd9
fix: update diagram history dialog with description and adjust image styling
2025-03-23 14:31:19 +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
1f69cf590b
feat: add confirmation dialog for clearing conversation and diagram in ChatInput
2025-03-23 13:31:26 +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
ef0c75dca5
feat: add clipboard paste handling in ChatInput for image file uploads
2025-03-23 12:12:24 +00:00
dayuan.jiang
9faa75ec9b
feat: add onDisplayChart prop to ChatInput and integrate with ChatPanel for diagram handling
2025-03-23 12:04:33 +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
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
4834d524b9
feat: update ChatInput and ChatPanel to use status instead of isLoading for improved state management
2025-03-22 13:26:14 +00:00
dayuan.jiang
1b40a3c456
feat: implement ChatInput component for enhanced message input and handling in ChatPanel
2025-03-22 13:15:51 +00:00