Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion specification/inference/_types/CommonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 `Contet-Type` – that are required to access the custom service.
* For example:
* ```
* "headers":{
Expand Down Expand Up @@ -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 {
Expand Down