mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🤖 fix: Azure Agents after Upstream Breaking Change (#5571)
* 🤖 fix: Azure Agents after Upstream Breaking Change
* chore: bump @langchain/core & @librechat/agents
* fix: correct formatting in assistant actions update logic and use correctly filtered actions variable
* fix: linting errors
This commit is contained in:
parent
e1a6268904
commit
6920e23fb2
7 changed files with 48 additions and 471 deletions
|
|
@ -1,6 +1,5 @@
|
|||
const path = require('path');
|
||||
require('module-alias')({ base: path.resolve(__dirname, '..', 'api') });
|
||||
const { askQuestion, silentExit } = require('./helpers');
|
||||
const connect = require('./connect');
|
||||
const User = require('../api/models/User');
|
||||
|
||||
|
|
@ -8,10 +7,10 @@ const listUsers = async () => {
|
|||
try {
|
||||
await connect();
|
||||
const users = await User.find({}, 'email provider avatar username name createdAt');
|
||||
|
||||
|
||||
console.log('\nUser List:');
|
||||
console.log('----------------------------------------');
|
||||
users.forEach(user => {
|
||||
users.forEach((user) => {
|
||||
console.log(`Email: ${user.email}`);
|
||||
console.log(`Username: ${user.username || 'N/A'}`);
|
||||
console.log(`Name: ${user.name || 'N/A'}`);
|
||||
|
|
@ -19,7 +18,7 @@ const listUsers = async () => {
|
|||
console.log(`Created: ${user.createdAt}`);
|
||||
console.log('----------------------------------------');
|
||||
});
|
||||
|
||||
|
||||
console.log(`\nTotal Users: ${users.length}`);
|
||||
process.exit(0);
|
||||
} catch (err) {
|
||||
|
|
@ -28,4 +27,4 @@ const listUsers = async () => {
|
|||
}
|
||||
};
|
||||
|
||||
listUsers();
|
||||
listUsers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue