UNPKG

@launchdarkly/mcp-server

Version:

The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.

35 lines • 1.86 kB
import { LaunchDarklyCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { LaunchDarklyError } from "../models/errors/launchdarklyerror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Update AI Config variation * * @remarks * Edit an existing variation of an AI Config. This creates a new version of the variation. * * The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. * * If the variation is in use in a project environment where approval settings require review for this AI Config, this endpoint returns 403 and the change must be submitted through an approval request. * * Here's an example: * ``` * { * "messages": [ * { * "role": "system", * "content": "The new message" * } * ] * } * ``` */ export declare function aiConfigsUpdateVariation(client: LaunchDarklyCore, request: operations.PatchAIConfigVariationRequest, options?: RequestOptions): APIPromise<Result<components.AIConfigVariation, errors.ErrorT | LaunchDarklyError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>; //# sourceMappingURL=aiConfigsUpdateVariation.d.ts.map