File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
specification/inference/_types Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ export class CohereTaskSettings {
947947
948948export class CustomServiceSettings {
949949 /**
950- * Specifies the HTTPS header parameters – such as `Authentication` or `Contet -Type` – that are required to access the custom service.
950+ * Specifies the HTTP header parameters – such as `Authentication` or `Content -Type` – that are required to access the custom service.
951951 * For example:
952952 * ```
953953 * "headers":{
@@ -1729,6 +1729,17 @@ export class OpenAITaskSettings {
17291729 * This information can be used for abuse detection.
17301730 */
17311731 user ?: string
1732+ /**
1733+ * Specifies custom HTTP header parameters.
1734+ * For example:
1735+ * ```
1736+ * "headers":{
1737+ * "Custom-Header": "Some-Value",
1738+ * "Another-Custom-Header": "Another-Value"
1739+ * }
1740+ * ```
1741+ */
1742+ headers ?: UserDefinedValue
17321743}
17331744
17341745export enum OpenAITaskType {
You can’t perform that action at this time.
0 commit comments