Skip to main content

Type Alias: GatewayInferenceInputReasoningItem

type GatewayInferenceInputReasoningItem = {
type: "reasoning";
id: string;
summary: {
type: "summary_text";
text: string;
}[];
status?: "in_progress" | "completed" | "incomplete";
};

Defined in: src/models/ai-gateway-inference.ts:3353

Portkey ReasoningItem; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputReasoningItemSchema.parse(value);`

Properties​

type​

type: "reasoning";

Defined in: src/models/ai-gateway-inference.ts:3354


id​

id: string;

Defined in: src/models/ai-gateway-inference.ts:3355


summary​

summary: {
type: "summary_text";
text: string;
}[];

Defined in: src/models/ai-gateway-inference.ts:3356

type​

type: "summary_text";

text​

text: string;

status?​

optional status?: "in_progress" | "completed" | "incomplete";

Defined in: src/models/ai-gateway-inference.ts:3357