diff --git a/specification/inference/_types/CommonTypes.ts b/specification/inference/_types/CommonTypes.ts index 25d1be939a..0435369c88 100644 --- a/specification/inference/_types/CommonTypes.ts +++ b/specification/inference/_types/CommonTypes.ts @@ -947,7 +947,7 @@ export class CohereTaskSettings { export class CustomServiceSettings { /** - * Specifies the HTTPS header parameters – such as `Authentication` or `Contet-Type` – that are required to access the custom service. + * Specifies the HTTP header parameters – such as `Authentication` or `Content-Type` – that are required to access the custom service. * For example: * ``` * "headers":{ @@ -1729,6 +1729,17 @@ export class OpenAITaskSettings { * This information can be used for abuse detection. */ user?: string + /** + * Specifies custom HTTP header parameters. + * For example: + * ``` + * "headers":{ + * "Custom-Header": "Some-Value", + * "Another-Custom-Header": "Another-Value" + * } + * ``` + */ + headers?: UserDefinedValue } export enum OpenAITaskType {