darkskygit
339c39c1ec
feat: improve prompt management ( #7853 )
2024-08-14 08:38:36 +00:00
forehalo
0ec1995add
fix(admin): organize admin panel ( #7840 )
2024-08-13 14:51:54 +08:00
JimmFly
b214003968
feat(admin): add prompt management page ( #7611 )
...
close AF-907
Supports online modification of prompt, but does not support custom ai key yet

2024-08-13 14:51:54 +08:00
forehalo
f2eafc374c
feat(server): authenticate user before ws connected ( #7777 )
2024-08-08 08:30:56 +00:00
darkskygit
5872b884a5
fix: increase image limit of copilot ( #7756 )
...
fix AF-1080 AF-1154
2024-08-06 09:15:40 +00:00
darkskygit
0acc1bd9e8
chore: cleanup outdated model & upgrade model ( #7739 )
2024-08-05 10:13:33 +00:00
darkskygit
73a6723d15
fix: use correct user id in forked session ( #7710 )
2024-08-05 09:03:11 +00:00
forehalo
4ec89ebd69
chore(server): standardize server db names and columns ( #7674 )
2024-07-31 07:59:23 +00:00
darkskygit
3f0e4c04d7
feat: refector prompt refresh ( #7605 )
2024-07-26 04:51:07 +00:00
darkskygit
470262d400
feat: migrate fal workflow to server ( #7581 )
2024-07-26 04:04:39 +00:00
forehalo
14fbeb7879
fix(server): should clean bill date if lifetime subscription ( #7577 )
2024-07-23 08:19:28 +00:00
darkskygit
386d766597
fix: forked session query condition ( #7568 )
2024-07-22 12:28:05 +00:00
DarkSky
dcb9d75db7
feat: allow sort and filter forked session ( #7519 )
2024-07-18 11:08:47 +08:00
darkskygit
e4b816f153
feat: add ping for event source ( #7493 )
2024-07-15 04:16:22 +00:00
darkskygit
5f16cb400d
hotfix: adapt new fal response ( #7480 )
2024-07-12 03:22:04 +00:00
darkskygit
0739e10683
feat: adapt workflow for ppt & minimap ( #7464 )
2024-07-10 10:13:17 +00:00
darkskygit
556956ced2
feat: update ppt prompt ( #7446 )
2024-07-08 08:11:31 +00:00
darkskygit
bf6c9a5955
feat: add prompt level config ( #7445 )
2024-07-08 08:11:22 +00:00
forehalo
9ef8829ef1
feat(server): add lifetime plan flag ( #7443 )
2024-07-08 07:41:30 +00:00
forehalo
de91027852
feat(server): support lifetime subscription ( #7405 )
...
closes CLOUD-48
- [x] lifetime subscription quota
- [ ] tests
2024-07-08 07:41:26 +00:00
darkskygit
e8285289fe
feat: improve histories query for forked session ( #7414 )
2024-07-03 04:49:19 +00:00
darkskygit
61870c04d0
feat: fork session support ( #7367 )
2024-07-03 03:10:09 +00:00
darkskygit
aeb666f95e
feat: integrate i18n error for copilot ( #7311 )
...
fix PD-1333 CLOUD-42
2024-06-26 13:36:23 +00:00
darkskygit
cffaf815e1
feat: add more workflow executor ( #7231 )
2024-06-25 10:54:16 +00:00
darkskygit
fe89ecb1d3
feat: workflow executor ( #7159 )
...
fix AFF-1221 AFF-1232
2024-06-25 08:40:47 +00:00
forehalo
7b3673ae82
chore: assign todos ( #7297 )
2024-06-21 07:54:14 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors ( #7111 )
2024-06-17 11:30:58 +08:00
forehalo
41bc683eed
fix(server): should update stripe customer email if changed ( #7181 )
2024-06-08 15:52:23 +00:00
darkskygit
ca9a16b728
feat: add workflow resolver ( #7123 )
...
fix AFF-1166
2024-06-07 05:53:45 +00:00
darkskygit
44b0ea2b6c
feat: no branches workflow support ( #7119 )
...
fix AFF-1165 AFF-1164
2024-06-07 05:53:39 +00:00
darkskygit
b75da1f3e0
fix: handle unexpected fal response ( #7158 )
2024-06-07 05:41:25 +00:00
darkskygit
a5f9bfdda9
fix: gql result check for clean history ( #7154 )
2024-06-05 07:49:40 +00:00
darkskygit
db0837936a
feat: fetch fal stream correctly ( #7141 )
2024-06-04 09:30:11 +00:00
forehalo
01fc1ea835
fix(server): selfhost fixes ( #7140 )
...
fixes #6708 , fixes #7139
2024-06-04 08:42:25 +00:00
forehalo
4b30fbc1e2
feat(server): add copilot prompts management api ( #7082 )
2024-05-28 13:14:17 +00:00
Tao Chen
e417c4cd44
fix(server): OIDC bug ( #7061 )
2024-05-28 18:19:37 +08:00
forehalo
638fc62601
feat(server): runtime setting support ( #5602 )
...
---
<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev ">Graphite</a>)</summary>
> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature ( #6995 )
2024-05-27 11:17:21 +00:00
darkskygit
5ba9e2e9b1
fix: choose provider correctly ( #7081 )
...
fix no provider error in caption generate action
2024-05-27 09:57:39 +00:00
darkskygit
937b8bf166
feat: history cleanup ( #7007 )
...
fix AFF-1069
2024-05-24 08:00:05 +00:00
Tao Chen
22a8a2663e
feat(server): add OIDC for AFFiNE ( #6991 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
Co-authored-by: DarkSky <darksky2048@gmail.com >
2024-05-24 00:35:30 +08:00
darkskygit
0c42849bc3
feat: update i2i model ( #7041 )
2024-05-23 14:27:12 +00:00
darkskygit
535254fdf6
feat: adapt new fal response ( #7042 )
2024-05-23 10:43:12 +00:00
darkskygit
f8fee55b3d
fix: combine message correctly ( #7038 )
2024-05-23 06:16:31 +00:00
darkskygit
f2866f57c9
feat: add lora support ( #6977 )
2024-05-20 05:05:34 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover ( #6967 )
2024-05-16 11:09:34 +00:00
Brooooooklyn
c7ddd679fd
feat(server): use native tokenizer impl ( #6960 )
...
### Benchmark
`yarn workspace @affine/server-native bench`
```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'tiktoken' │ '5' │ 176932518.76000002 │ '±4.71%' │ 100 │
│ 1 │ 'native' │ '16' │ 61041597.51000003 │ '±0.60%' │ 100 │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00
darkskygit
0076359d6a
feat: add retry support for copilot ( #6947 )
2024-05-15 11:02:37 +00:00
darkskygit
7e7a4120aa
feat: renew models ( #6934 )
2024-05-15 09:13:05 +00:00
darkskygit
98e218af93
feat: allow undefined new model ( #6933 )
2024-05-14 13:05:07 +00:00