mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-28 22:28:51 +01:00
refactor: remove getCustomConfig dependency in config route
This commit is contained in:
parent
2229672929
commit
677481dde6
2 changed files with 27 additions and 13 deletions
|
|
@ -54,6 +54,11 @@ export class MCPManager extends UserConnectionManager {
|
|||
return this.serversRegistry.oauthServers!;
|
||||
}
|
||||
|
||||
/** Get all servers */
|
||||
public getAllServers(): t.MCPServers | null {
|
||||
return this.serversRegistry.rawConfigs!;
|
||||
}
|
||||
|
||||
/** Returns all available tool functions from app-level connections */
|
||||
public getAppToolFunctions(): t.LCAvailableTools | null {
|
||||
return this.serversRegistry.toolFunctions!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue