Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions types/defines/ai.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,12 @@ export type ReasoningEffort = "minimal" | "low" | "medium" | "high" | null;
export type StreamOptions = {
include_obfuscation?: boolean;
};
/** Marks keys from T that aren't in U as optional never */
export type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
/** Either T or U, but not both (mutually exclusive) */
export type XOR<T, U> = (T & Without<U, T>) | (U & Without<T, U>);
export type Ai_Cf_Baai_Bge_Base_En_V1_5_Input =
| {
text: string | string[];
Expand Down Expand Up @@ -4289,12 +4295,12 @@ export declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
/**
Expand Down
14 changes: 10 additions & 4 deletions types/generated-snapshot/experimental/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5181,6 +5181,12 @@ type ReasoningEffort = "minimal" | "low" | "medium" | "high" | null;
type StreamOptions = {
include_obfuscation?: boolean;
};
/** Marks keys from T that aren't in U as optional never */
type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
/** Either T or U, but not both (mutually exclusive) */
type XOR<T, U> = (T & Without<U, T>) | (U & Without<T, U>);
type Ai_Cf_Baai_Bge_Base_En_V1_5_Input =
| {
text: string | string[];
Expand Down Expand Up @@ -8815,12 +8821,12 @@ declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
/**
Expand Down
14 changes: 10 additions & 4 deletions types/generated-snapshot/experimental/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5191,6 +5191,12 @@ export type ReasoningEffort = "minimal" | "low" | "medium" | "high" | null;
export type StreamOptions = {
include_obfuscation?: boolean;
};
/** Marks keys from T that aren't in U as optional never */
export type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
/** Either T or U, but not both (mutually exclusive) */
export type XOR<T, U> = (T & Without<U, T>) | (U & Without<T, U>);
export type Ai_Cf_Baai_Bge_Base_En_V1_5_Input =
| {
text: string | string[];
Expand Down Expand Up @@ -8825,12 +8831,12 @@ export declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
/**
Expand Down
14 changes: 10 additions & 4 deletions types/generated-snapshot/latest/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4575,6 +4575,12 @@ type ReasoningEffort = "minimal" | "low" | "medium" | "high" | null;
type StreamOptions = {
include_obfuscation?: boolean;
};
/** Marks keys from T that aren't in U as optional never */
type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
/** Either T or U, but not both (mutually exclusive) */
type XOR<T, U> = (T & Without<U, T>) | (U & Without<T, U>);
type Ai_Cf_Baai_Bge_Base_En_V1_5_Input =
| {
text: string | string[];
Expand Down Expand Up @@ -8209,12 +8215,12 @@ declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
/**
Expand Down
14 changes: 10 additions & 4 deletions types/generated-snapshot/latest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4585,6 +4585,12 @@ export type ReasoningEffort = "minimal" | "low" | "medium" | "high" | null;
export type StreamOptions = {
include_obfuscation?: boolean;
};
/** Marks keys from T that aren't in U as optional never */
export type Without<T, U> = {
[P in Exclude<keyof T, keyof U>]?: never;
};
/** Either T or U, but not both (mutually exclusive) */
export type XOR<T, U> = (T & Without<U, T>) | (U & Without<T, U>);
export type Ai_Cf_Baai_Bge_Base_En_V1_5_Input =
| {
text: string | string[];
Expand Down Expand Up @@ -8219,12 +8225,12 @@ export declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: ResponsesInput;
postProcessedOutputs: ResponsesOutput;
inputs: XOR<ResponsesInput, AiTextGenerationInput>;
postProcessedOutputs: XOR<ResponsesOutput, AiTextGenerationOutput>;
}
export interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
/**
Expand Down
Loading