mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
🏪 feat: Agent Marketplace
bugfix: Enhance Agent and AgentCategory schemas with new fields for category, support contact, and promotion status refactored and moved agent category methods and schema to data-schema package
This commit is contained in:
parent
658480d7cd
commit
f59ef0ecb0
10 changed files with 291 additions and 100 deletions
|
|
@ -3,7 +3,7 @@ const mongoose = require('mongoose');
|
|||
const { logger } = require('~/config');
|
||||
|
||||
// Get the Agent model
|
||||
const Agent = mongoose.model('agent');
|
||||
const Agent = mongoose.model('Agent');
|
||||
|
||||
// Default page size for agent browsing
|
||||
const DEFAULT_PAGE_SIZE = 6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue