🌀 chore: Resolve primeResources Typescript Warning

This commit is contained in:
Danny Avila 2025-08-16 21:00:16 -04:00
parent d7d02766ea
commit 55557f7cc8
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -2,7 +2,7 @@ import { logger } from '@librechat/data-schemas';
import { EModelEndpoint, EToolResources, AgentCapabilities } from 'librechat-data-provider';
import type { AgentToolResources, TFile, AgentBaseResource } from 'librechat-data-provider';
import type { FilterQuery, QueryOptions, ProjectionType } from 'mongoose';
import type { IMongoFile } from '@librechat/data-schemas';
import type { IMongoFile, IUser } from '@librechat/data-schemas';
import type { Request as ServerRequest } from 'express';
/**
@ -149,7 +149,7 @@ export const primeResources = async ({
tool_resources: _tool_resources,
agentId,
}: {
req: ServerRequest;
req: ServerRequest & { user?: IUser };
requestFileSet: Set<string>;
attachments: Promise<Array<TFile | null>> | undefined;
tool_resources: AgentToolResources | undefined;