Commit Graph
25 Commits
Author SHA1 Message Date
Dayuan Jiang d2d4dd01cc fix: filter out messages with empty content arrays for Bedrock API (#31)
* fix: filter out messages with empty content arrays for Bedrock API

The convertToModelMessages function from AI SDK can produce messages with
empty content arrays when assistant messages have only tool call parts or
when tool results aren't properly converted. Bedrock API rejects these with
400 errors. This fix filters out invalid messages before sending to the API.

* fix: add diagnostic logging for empty message content

Added logging to capture the original UI message structure when empty content
is detected after conversion. This helps debug the root cause while the
filter provides a safety net for Bedrock API compatibility.
2025-12-01 01:15:43 +09:00
Dayuan Jiang b4679f6598 fix: increase maxDuration to 300s for Fluid Compute (#30) 2025-12-01 00:46:40 +09:00
Dayuan Jiang 0d0d553e23 fix: correct anthropic beta header config for fine-grained tool streaming (#27)
* fix: correct anthropic beta header config for fine-grained tool streaming

- Use bedrock.anthropicBeta for Bedrock provider (not additionalModelRequestFields)
- Use top-level headers for direct Anthropic API
- Update @ai-sdk/amazon-bedrock to 3.0.62
- Add headers support to ModelConfig interface

* fix: update @ai-sdk/amazon-bedrock to 3.0.62 for tool streaming support
2025-11-30 16:34:42 +09:00
Dayuan Jiang 32e75ab556 feat: expand PR review scope to catch more issues (#25)
* feat: use pull_request_target to support fork PR reviews

* feat: expand PR review scope to catch more issues

- Add categories for scope creep, suspicious .gitignore additions, UI inconsistencies
- Change from 'be very selective' to 'report ALL issues found'
- Simplify DO NOT comment list to allow more actionable feedback
2025-11-29 12:22:21 +09:00
Dayuan Jiang b87e3a2de9 feat: use pull_request_target to support fork PR reviews (#24) 2025-11-29 11:14:49 +09:00
Dayuan Jiang b32d42d962 Merge pull request #23 from DayuanJiang/feature/claude-code-actions
Feature/claude code actions
2025-11-29 01:50:27 +09:00
Dayuan Jiang b4d0c6c18b Merge pull request #22 from DayuanJiang/feature/claude-code-actions
Add Claude Code GitHub Actions with Bedrock and auto PR review
2025-11-29 01:32:06 +09:00
Dayuan Jiang b3fc624e13 Merge pull request #16 from ylxmf2005/main
feat: support OpenAI compatible llm
2025-11-22 09:52:30 +09:00
Dayuan Jiang 5964deeff7 Merge pull request #15 from DayuanJiang/docs/update-examples
Docs/update examples
2025-11-17 20:47:00 +09:00
Dayuan Jiang 663e1c8c77 Update examples section in README.md 2025-11-17 19:35:55 +09:00
Dayuan Jiang 8d36e0dfb0 Merge pull request #14 from DayuanJiang/docs/update-examples
docs: Update examples with new prompts and demo images
2025-11-17 19:03:29 +09:00
Dayuan Jiang 60f4694752 Merge pull request #13 from DayuanJiang/fix/resize
fix: Preserve state when resizing window to mobile size
2025-11-17 18:59:07 +09:00
Dayuan Jiang 7518285e98 Merge pull request #12 from DayuanJiang/chore/fix-readme
chore: Update README for demo site link and simplify multi-provider s…
2025-11-16 09:16:53 +09:00
Dayuan Jiang 0385818b98 Merge pull request #11 from DayuanJiang/feature/seo-improvements
Feature/seo improvements
2025-11-16 09:06:27 +09:00
Dayuan Jiang 8084905711 chore: Add bug fix task for session timeout issue as todo
Add a task to solve the bug for long sessions.
2025-11-15 15:37:44 +09:00
Dayuan Jiang 0dffe8cc20 Merge pull request #10 from DayuanJiang/chore/modify_readme
chore: update readme
2025-11-15 15:35:50 +09:00
Dayuan Jiang ba219730ac Merge pull request #9 from DayuanJiang/release/v0.2.0
chore: bump version to 0.2.0
2025-11-15 15:17:52 +09:00
Dayuan Jiang 4896bf6283 Merge pull request #8 from DayuanJiang/feature/add-multi-provider
Feature/add multi provider
2025-11-15 15:02:06 +09:00
Dayuan Jiang d2e79652db Merge pull request #7 from DayuanJiang/feature/toggle-chat-panel
feat: add show/hide chat panel with Ctrl+B shortcut
2025-11-15 12:16:43 +09:00
Dayuan Jiang 13c3d11ec1 Merge pull request #6 from DayuanJiang/edit_fallback
Add 3-retry policy for edit_diagram with automatic fallback
2025-11-13 23:35:15 +09:00
Dayuan Jiang fa173feb11 Change asset link in README
Updated asset link in README.md
2025-11-10 11:42:38 +09:00
Dayuan Jiang 8365f509d3 Update README.md's demo video 2025-11-10 11:41:04 +09:00
Dayuan Jiang d34bfa4275 Update README.md
update the demo
2025-09-01 10:35:28 +09:00
Dayuan Jiang df74c36242 Update README.md 2025-03-24 11:54:01 +09:00
Dayuan Jiang 46c0bed167 Update README.md 2025-03-24 09:56:55 +09:00