Merge branch 'main' into tiptap3-migration

This commit is contained in:
Philipinho
2025-12-16 15:56:00 +00:00
9 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "0.24.0",
"version": "0.24.1",
"description": "",
"author": "",
"private": true,
@@ -117,7 +117,7 @@ export class EnvironmentVariables {
@IsOptional()
@ValidateIf((obj) => obj.AI_EMBEDDING_DIMENSION)
@IsIn(['768', '1024', '1536'])
@IsIn(['768', '1024', '1536', '2000'])
@IsString()
AI_EMBEDDING_DIMENSION: string;
+5 -3
View File
@@ -15,10 +15,12 @@ async function bootstrap() {
const app = await NestFactory.create<NestFastifyApplication>(
AppModule,
new FastifyAdapter({
ignoreTrailingSlash: true,
ignoreDuplicateSlashes: true,
maxParamLength: 1000,
trustProxy: true,
routerOptions: {
maxParamLength: 1000,
ignoreTrailingSlash: true,
ignoreDuplicateSlashes: true,
},
}),
{
rawBody: true,