mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🌀 chore: Resolve primeResources Typescript Warning
This commit is contained in:
parent
d7d02766ea
commit
55557f7cc8
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import { logger } from '@librechat/data-schemas';
|
||||||
import { EModelEndpoint, EToolResources, AgentCapabilities } from 'librechat-data-provider';
|
import { EModelEndpoint, EToolResources, AgentCapabilities } from 'librechat-data-provider';
|
||||||
import type { AgentToolResources, TFile, AgentBaseResource } from 'librechat-data-provider';
|
import type { AgentToolResources, TFile, AgentBaseResource } from 'librechat-data-provider';
|
||||||
import type { FilterQuery, QueryOptions, ProjectionType } from 'mongoose';
|
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';
|
import type { Request as ServerRequest } from 'express';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -149,7 +149,7 @@ export const primeResources = async ({
|
||||||
tool_resources: _tool_resources,
|
tool_resources: _tool_resources,
|
||||||
agentId,
|
agentId,
|
||||||
}: {
|
}: {
|
||||||
req: ServerRequest;
|
req: ServerRequest & { user?: IUser };
|
||||||
requestFileSet: Set<string>;
|
requestFileSet: Set<string>;
|
||||||
attachments: Promise<Array<TFile | null>> | undefined;
|
attachments: Promise<Array<TFile | null>> | undefined;
|
||||||
tool_resources: AgentToolResources | undefined;
|
tool_resources: AgentToolResources | undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue