aiconfigvariationpatch.md•4.9 kB
# AIConfigVariationPatch
## Example Usage
```typescript
import { AIConfigVariationPatch } from "@launchdarkly/mcp-server/models/components";
let value: AIConfigVariationPatch = {
comment: "comment",
description: "description",
instructions: "instructions",
messages: [
{
content: "content",
role: "role",
},
{
content: "content",
role: "role",
},
],
model: {},
modelConfigKey: "modelConfigKey",
name: "name",
published: true,
state: "state",
};
```
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| `comment` | *string* | :heavy_minus_sign: | Human-readable description of what this patch changes |
| `description` | *string* | :heavy_minus_sign: | Description for agent when AI Config is in agent mode. |
| `instructions` | *string* | :heavy_minus_sign: | Instructions for agent when AI Config is in agent mode. |
| `messages` | [components.Message](../../models/components/message.md)[] | :heavy_minus_sign: | N/A |
| `model` | [components.AIConfigVariationPatchModel](../../models/components/aiconfigvariationpatchmodel.md) | :heavy_minus_sign: | N/A |
| `modelConfigKey` | *string* | :heavy_minus_sign: | N/A |
| `name` | *string* | :heavy_minus_sign: | N/A |
| `published` | *boolean* | :heavy_minus_sign: | N/A |
| `state` | *string* | :heavy_minus_sign: | One of 'archived', 'published' |