Files
AFFiNE-Mirror/packages/backend/server
akumatus cce756365a feat(core): use claude 4 as default chat model (#12596)
Support [AI-59](https://linear.app/affine-design/issue/AI-59)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Updated the default AI model for chat prompts to use Claude Sonnet 4.
- **Bug Fixes**
  - Improved model selection logic to better support reasoning features across more AI models.
- **Tests**
  - Enhanced test cases with consistent instructions for response length.
  - Skipped certain chat-related tests to refine test suite stability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-03 06:32:27 +00:00
..
2024-12-24 15:29:48 +08:00

Server

Get started

Install dependencies

yarn

Build Native binding

yarn affine @affine/server-native build

Run server

yarn dev

now you can access the server GraphQL endpoint at http://localhost:3000/graphql