merlyn/server/utils/AiProviders/cometapi/constants.js
TensorNull 5922349bb7
feat: Implement CometAPI integration for chat completions and model m… (#4379)
* feat: Implement CometAPI integration for chat completions and model management

- Added CometApiLLM class for handling chat completions using CometAPI.
- Implemented model synchronization and caching mechanisms.
- Introduced streaming support for chat responses with timeout handling.
- Created CometApiProvider class for agent interactions with CometAPI.
- Enhanced error handling and logging throughout the integration.
- Established a structure for managing function calls and completions.

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-09-16 14:38:49 -07:00

40 lines
754 B
JavaScript

// TODO: When CometAPI's model list is upgraded, this operation needs to be removed
// Model filtering patterns from cometapi.md that are not supported by AnythingLLM
module.exports.COMETAPI_IGNORE_PATTERNS = [
// Image generation models
"dall-e",
"dalle",
"midjourney",
"mj_",
"stable-diffusion",
"sd-",
"flux-",
"playground-v",
"ideogram",
"recraft-",
"black-forest-labs",
"/recraft-v3",
"recraftv3",
"stability-ai/",
"sdxl",
// Audio generation models
"suno_",
"tts",
"whisper",
// Video generation models
"runway",
"luma_",
"luma-",
"veo",
"kling_",
"minimax_video",
"hunyuan-t1",
// Utility models
"embedding",
"search-gpts",
"files_retrieve",
"moderation",
// Deepl
"deepl",
];