Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
25ef02d2aa chore: add show api error msg 2024-11-25 13:15:14 +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
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
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
a8be513d4b feat: support steaming 2023-06-10 14:28:27 +08:00
cfd0c9532f feat: lint code 2023-06-10 14:04:40 +08:00
d306b26486 Update common.ts 2023-05-18 10:24:44 +08:00
223ba26902 Update common.ts
ChatClient add API_URL
2023-05-18 09:58:41 +08:00
885884f1de chore: package to dify-client 2023-05-14 16:57:54 +08:00
06f502a524 feat: to new api 2023-05-09 14:56:37 +08:00
d728cbb267 fix: v4 undefined problem 2023-05-05 15:49:16 +08:00
032c2841d4 chore: fix module delcare ts problem 2023-04-17 14:02:47 +08:00
87286f9dad feat: support feedback api 2023-04-17 13:58:58 +08:00
22d2aae597 chore: use sdk 2023-04-17 11:33:06 +08:00
97d3a6277d feat: init 2023-04-14 20:35:08 +08:00