89 lines
2.3 KiB
TypeScript
89 lines
2.3 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { JsonValue } from "./serde_json/JsonValue";
|
|
|
|
export type ExtraBody =
|
|
| {
|
|
/**
|
|
* A variant name in your configuration (e.g. `my_variant`)
|
|
*/
|
|
variant_name: string;
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* The value to set the field to
|
|
*/
|
|
value: JsonValue;
|
|
}
|
|
| {
|
|
/**
|
|
* A variant name in your configuration (e.g. `my_variant`)
|
|
*/
|
|
variant_name: string;
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* Set to true to remove the field from the model provider request's body
|
|
*/
|
|
delete: null;
|
|
}
|
|
| {
|
|
/**
|
|
* A model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
|
|
*/
|
|
model_name: string;
|
|
/**
|
|
* A provider name for the model you specified (e.g. `my_openai`)
|
|
*/
|
|
provider_name?: string;
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* The value to set the field to
|
|
*/
|
|
value: JsonValue;
|
|
}
|
|
| {
|
|
/**
|
|
* A model name in your configuration (e.g. `my_gpt_5`) or a short-hand model name (e.g. `openai::gpt-5`)
|
|
*/
|
|
model_name: string;
|
|
/**
|
|
* A provider name for the model you specified (e.g. `my_openai`)
|
|
*/
|
|
provider_name?: string;
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* Set to true to remove the field from the model provider request's body
|
|
*/
|
|
delete: null;
|
|
}
|
|
| {
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* The value to set the field to
|
|
*/
|
|
value: JsonValue;
|
|
}
|
|
| {
|
|
/**
|
|
* A JSON Pointer to the field to update (e.g. `/enable_agi`)
|
|
*/
|
|
pointer: string;
|
|
/**
|
|
* Set to true to remove the field from the model provider request's body
|
|
*/
|
|
delete: null;
|
|
};
|