Skip to main content
Glama

Gotas Commerce MCP Server

messages.js1.13 kB
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Messages = void 0; const resource_1 = require("../../../resource.js"); const PromptCachingBetaMessageStream_1 = require("../../../lib/PromptCachingBetaMessageStream.js"); class Messages extends resource_1.APIResource { create(params, options) { const { betas, ...body } = params; return this._client.post('/v1/messages?beta=prompt_caching', { body, timeout: this._client._options.timeout ?? 600000, ...options, headers: { 'anthropic-beta': [...(betas ?? []), 'prompt-caching-2024-07-31'].toString(), ...options?.headers, }, stream: params.stream ?? false, }); } /** * Create a Message stream */ stream(body, options) { return PromptCachingBetaMessageStream_1.PromptCachingBetaMessageStream.createMessage(this, body, options); } } exports.Messages = Messages; //# sourceMappingURL=messages.js.map

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/caiovicentino/mcpGOTAS'

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