IRWarning
Defined in: packages/ai.matey.types/src/ir.ts:500
Semantic drift warning.
Documents transformations and compatibility issues that occur when converting between provider formats.
Example
Section titled “Example”const warning: IRWarning = { category: 'parameter-normalized', severity: 'info', message: 'Temperature normalized from 0-2 range to 0-1 range', field: 'temperature', originalValue: 1.5, transformedValue: 0.75, source: 'openai-backend'};Properties
Section titled “Properties”category
Section titled “category”
readonlycategory:WarningCategory
Defined in: packages/ai.matey.types/src/ir.ts:504
Warning category.
details?
Section titled “details?”
readonlyoptionaldetails:Record<string,unknown>
Defined in: packages/ai.matey.types/src/ir.ts:539
Additional context or details.
field?
Section titled “field?”
readonlyoptionalfield:string
Defined in: packages/ai.matey.types/src/ir.ts:519
Field or parameter that caused the warning.
message
Section titled “message”
readonlymessage:string
Defined in: packages/ai.matey.types/src/ir.ts:514
Human-readable warning message.
originalValue?
Section titled “originalValue?”
readonlyoptionaloriginalValue:unknown
Defined in: packages/ai.matey.types/src/ir.ts:524
Original value before transformation.
severity
Section titled “severity”
readonlyseverity:WarningSeverity
Defined in: packages/ai.matey.types/src/ir.ts:509
Severity level.
source?
Section titled “source?”
readonlyoptionalsource:string
Defined in: packages/ai.matey.types/src/ir.ts:534
Source adapter that generated the warning.
transformedValue?
Section titled “transformedValue?”
readonlyoptionaltransformedValue:unknown
Defined in: packages/ai.matey.types/src/ir.ts:529
Transformed value after normalization.