c4b8029702
Merge remote-tracking branch 'upstream/main' into feature/streamdown-and-fixes
2025-09-16 10:23:50 +08:00
6a8f4e6db1
Merge pull request #125 from AllForNothing/fix/same-site
...
fix: add new setting item to disable/enable same site for session_id cookie
2025-09-16 10:09:59 +08:00
12e52b5d7e
Merge pull request #181 from lyzno1/chore/eslint-v9-migration
...
chore: eslint v9 migration
2025-09-16 10:05:21 +08:00
238611f547
Merge pull request #143 from Laurel-rao/main
...
修复 iphone 手机点击聊天框放大的问题
2025-09-16 10:04:49 +08:00
34bb34f890
✨ [Error] Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
...
error (intercept-console-error.js:57)
getRootForUpdatedFiber (react-dom-client.development.js:3899)
dispatchSetStateInternal (react-dom-client.development.js:8249)
dispatchSetState (react-dom-client.development.js:8209)
(anonymous function) (react-tooltip.min.mjs:18:14416)
2025-09-15 10:58:08 +08:00
18a4229464
✨ Error: Route "/api/messages/[messageId]/feedbacks" used params.messageId. params should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis
...
at POST (app/api/messages/[messageId]/feedbacks/route.ts:12:11)
10 | rating,
11 | } = body
> 12 | const { messageId } = params
| ^
13 | const { user } = getInfo(request)
14 | const { data } = await client.messageFeedback(messageId, rating, user)
15 | return NextResponse.json(data)
POST /api/messages/36fd2d18-909b-4bb9-b46d-6e7f72a705e4/feedbacks 200 in 557ms
2025-09-15 10:57:56 +08:00
0cb8fdcf15
fix: await params in dynamic route for Next.js 15 compatibility
2025-09-15 10:57:38 +08:00
532aba026a
fix: filter empty URLs in image gallery to prevent browser reload
...
- Add validation to filter out empty and whitespace-only image URLs
- Return null when no valid images exist
- Prevents console errors and browser reload issues from empty img src
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 10:57:38 +08:00
7a07e8d56b
Fix auto-scroll for page-level scrolling
...
Replace container scrollTop logic with scrollIntoView API to support page-level scroll bars instead of internal container scrolling.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 10:57:38 +08:00
c907432782
fix: send button ui
2025-09-15 10:56:59 +08:00
672ad29e5d
Integrate Streamdown and optimize chat layout
...
- Replace react-markdown with Streamdown for better streaming support
- Fix input box positioning with proper sidebar offset
- Optimize scrolling behavior with main container handling scroll
- Add max-width constraint for assistant messages
- Ensure proper spacing to prevent input box overlap
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 10:56:59 +08:00
2d426902bd
fix: max answer bubble width
2025-09-15 10:56:59 +08:00
3025356fa7
feat: question use streamdown
2025-09-15 10:56:59 +08:00
ba95a431b3
fix: assistant answer pb
2025-09-15 10:56:59 +08:00
9ff81c0306
fix: update cookies() usage for Next.js 15 compatibility
...
- Make getLocaleOnServer async and await cookies()
- Update LocaleLayout to be async component
- Fix react-tooltip compatibility with React 19
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 10:56:19 +08:00
05dcfcf0ca
feat: migrate ESLint to v9 flat config
...
- Replace .eslintrc.json with eslint.config.mjs
- Simplify configuration using @antfu/eslint-config
- Add necessary ESLint plugin dependencies
- Disable overly strict style rules
- Set package.json type to module for ESM support
- Fix ESLint disable comment format
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 10:55:10 +08:00
17007b2014
Allow file upload in chat.
2025-09-08 16:15:46 +08:00
60a33804cc
fix: suggestion is not rendered
2025-05-30 09:59:27 +08:00
d009b00012
fix: fix option check
2025-05-27 11:33:48 +08:00
d3482db74d
chore: can set the write input
2025-04-15 18:41:13 +08:00
beda954867
chore: can use setting config
2025-04-15 18:18:46 +08:00
7216f40bee
feat: add single file upload
2025-04-14 18:38:27 +08:00
9a7e1be35d
fix: file type not support
2025-04-14 16:17:52 +08:00
db4e78d796
修复 iphone 手机点击聊天框放大的问题
2025-03-04 14:51:29 +08:00
a8ea35e5c6
fix: add new setting item to disable/enable same site property
...
fixes #55
Signed-off-by: 孙世军 <1083433931@qq.com >
2024-12-11 18:08:47 +08:00
9d2d092e9e
Merge pull request #95 from yusuke-ten/fix/IMainProps-type
...
fix IMainProps-type
2024-12-07 22:03:48 +08:00
25ef02d2aa
chore: add show api error msg
2024-11-25 13:15:14 +08:00
b7f703852e
fix: not support num input
2024-09-04 17:51:22 +08:00
cafd643c00
fix: not show opening statement
2024-09-03 14:31:05 +08:00
349e081f1f
fix IMainProps-type
2024-08-12 19:10:23 +09:00
5a85f0d427
chore: hide workflow run detail
2024-08-07 18:01:00 +08:00
484a5dc102
Merge pull request #81 from yoyocircle/main
...
fix: typos
2024-08-07 17:08:50 +08:00
fcd6a0215d
fix: optional copywriting i18n
2024-07-31 11:54:30 +08:00
f6b4b4a361
fix: typos
2024-07-17 03:59:08 +00:00
6933b5923b
fix style of answer
2024-04-23 18:23:06 +08:00
30509d92a3
add workflow process
2024-04-23 17:57:24 +08:00
c73753138d
support workflow events
2024-04-23 17:09:12 +08:00
83695999ea
feat: conversation support show thought
2024-01-29 13:33:15 +08:00
b62e34c6fa
feat: support output agent info
2024-01-29 13:00:14 +08:00
ed839618a7
feat: move anwser related code
2024-01-26 18:06:04 +08:00
4a75e3774a
chore: split question and and answer to components
2024-01-26 16:41:16 +08:00
5dc3658e19
feat: support upload image
2023-11-22 11:08:09 +08:00
a01fc9ef49
feat: support var type paragraph
2023-09-12 10:42:57 +08:00
2a5a282519
Merge pull request #24 from langgenius/fix/the-2th-not-set-inputs
...
fix: new chat not set input
2023-08-29 13:43:50 +08:00
754b77657b
fix: new chat set input
2023-08-29 13:42:32 +08:00
4867d52b8f
fix: conversations cache
2023-08-29 12:24:46 +08:00
c2d8c9010a
fix: build error on local
2023-07-31 18:31:18 +08:00
d32faf12f2
fix: app update var break old conversation
2023-07-05 11:34:05 +08:00
a8be513d4b
feat: support steaming
2023-06-10 14:28:27 +08:00
cfd0c9532f
feat: lint code
2023-06-10 14:04:40 +08:00