@opencode-ai/sdk 1.15.10 → 1.15.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -718,11 +718,15 @@ export type ProviderConfig = {
|
|
|
718
718
|
enterpriseUrl?: string;
|
|
719
719
|
setCacheKey?: boolean;
|
|
720
720
|
/**
|
|
721
|
-
* Timeout in milliseconds for requests to this provider.
|
|
721
|
+
* Timeout in milliseconds for full requests to this provider. Set to false to disable timeout.
|
|
722
722
|
*/
|
|
723
723
|
timeout?: number | false;
|
|
724
|
+
/**
|
|
725
|
+
* Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout.
|
|
726
|
+
*/
|
|
727
|
+
headerTimeout?: number | false;
|
|
724
728
|
chunkTimeout?: number;
|
|
725
|
-
[key: string]: unknown | string | boolean | number | false | number | undefined;
|
|
729
|
+
[key: string]: unknown | string | boolean | number | false | number | false | number | undefined;
|
|
726
730
|
};
|
|
727
731
|
models?: {
|
|
728
732
|
[key: string]: {
|
|
@@ -755,8 +759,8 @@ export type ProviderConfig = {
|
|
|
755
759
|
output: number;
|
|
756
760
|
};
|
|
757
761
|
modalities?: {
|
|
758
|
-
input
|
|
759
|
-
output
|
|
762
|
+
input?: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
763
|
+
output?: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
760
764
|
};
|
|
761
765
|
experimental?: boolean;
|
|
762
766
|
status?: "alpha" | "beta" | "deprecated" | "active";
|