Skip to main content
Glama
by microsoft
nonemodel.ts420 B
import { LanguageModel } from "./chat" import { MODEL_PROVIDER_NONE } from "./constants" import { serializeError } from "./error" export const NoneModel = Object.freeze<LanguageModel>({ id: MODEL_PROVIDER_NONE, completer: async (req, connection, options) => { return { finishReason: "fail", error: serializeError("No LLM execution allowed in this context."), } }, })

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/microsoft/genaiscript'

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