← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/typescript/models/LLMUpdateRequest.md
1.03 KB · Oct 3, 2026 · 06:25 UTC
<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->
# LLMUpdateRequest
Request body for updating an existing LLM. All fields are optional - only specified fields will be updated. supportedModalities replaces the stored set only when the array contains at least one value; empty or omitted leaves it unchanged and does not count as an update by itself.
```ts
export type LLMUpdateRequest = AtMostOne<LLMUpdateRequestBase, "replaceLabels" | "mergeLabels">;
```
Helper definitions for the constraints above (kept here to avoid extra page reads):
```ts
export type AtMostOne<T, Keys extends keyof T = keyof T> = Prettify<Omit<T, Keys> & ({
[K in Keys]-?: {
[P in K]-?: NonNullable<T[P]>;
} & {
[P in Exclude<Keys, K>]?: null | undefined;
};
}[Keys] | {
[K in Keys]?: null | undefined;
})>;
export type Prettify<T> = {
[K in keyof T]: T[K];
} & {};
```
[TypeScript](../../typescript.md)
Related types — open only those used by your request:
- [LLMUpdateRequestBase](LLMUpdateRequestBase.md)
SHA-256: 5be480b27afaa7b0d83c78a6619e0038886ab2fd778b6c7fdebbb7762359979b