Spaces:
Sleeping
Sleeping
| /** | |
| * Global Settings for Services | |
| * Stores configuration for LLM and Image Generators (excluding sensitive keys). | |
| */ | |
| // LLM Configuration | |
| const LLM_MODEL = 'gemini-flash-latest'; | |
| const LLM_BASE_URL = `https://generativelanguage.googleapis.com/v1beta/models/${LLM_MODEL}:generateContent`; | |
| // Image Generator Configuration | |
| const IMG_MODEL = 'gemini-3-pro-image-preview'; | |
| const IMG_BASE_URL = `https://generativelanguage.googleapis.com/v1beta/models/${IMG_MODEL}:generateContent`; | |
| module.exports = { | |
| llm: { | |
| model: LLM_MODEL, | |
| baseUrl: LLM_BASE_URL | |
| }, | |
| image: { | |
| model: IMG_MODEL, | |
| baseUrl: IMG_BASE_URL | |
| } | |
| }; |