mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
fix: streamline OpenAI image tools configuration by removing direct appConfig dependency and using function parameters
This commit is contained in:
parent
0b5816d1be
commit
68c6afd009
8 changed files with 63 additions and 29 deletions
|
|
@ -75,6 +75,8 @@ const AppService = async () => {
|
|||
adminFilter: filteredTools,
|
||||
adminIncluded: includedTools,
|
||||
directory: paths.structuredTools,
|
||||
imageOutputType,
|
||||
fileStrategy,
|
||||
});
|
||||
|
||||
await setCachedTools(availableTools, { isGlobal: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue