Skip to main content
Glama
models.js751 B
/** * Gemini Model Configurations. * Centralizes the model IDs and generation configurations used across tools. * * @author Cline */ const config = require('../config'); /** * Retrieves the configuration for a specific Gemini model. * @param {string} modelType - The type of model configuration to retrieve (e.g., 'IMAGE_GENERATION'). * @returns {Object} The model configuration object. * @throws {Error} If the modelType is not found in the configuration. */ function getGeminiModelConfig(modelType) { const modelConfig = config.GEMINI_MODELS[modelType]; if (!modelConfig) { throw new Error(`Gemini model configuration not found for type: ${modelType}`); } return modelConfig; } module.exports = { getGeminiModelConfig, };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Garblesnarff/gemini-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server