@nekobato/chatgpt-websearch-mcp
Version:
A local MCP stdio server that provides access to the OpenAI (ChatGPT) API with web search capabilities for Claude Code and other MCP clients.
25 lines (24 loc) • 716 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ALL_SUPPORTED_MODELS = exports.REGULAR_MODELS = exports.REASONING_MODELS = void 0;
exports.isReasoningModel = isReasoningModel;
exports.isSupportedModel = isSupportedModel;
exports.REASONING_MODELS = [
'gpt-5',
'gpt-5-mini',
'gpt-5-nano',
'o3',
'o3-pro',
'o4-mini',
];
exports.REGULAR_MODELS = ['gpt-4.1', 'gpt-4.1-mini'];
exports.ALL_SUPPORTED_MODELS = [
...exports.REASONING_MODELS,
...exports.REGULAR_MODELS,
];
function isReasoningModel(model) {
return exports.REASONING_MODELS.includes(model);
}
function isSupportedModel(model) {
return exports.ALL_SUPPORTED_MODELS.includes(model);
}