summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js/src
diff options
context:
space:
mode:
authorShantur Rathore <[email protected]>2025-11-25 23:53:56 +0000
committerGitHub <[email protected]>2025-11-25 17:53:56 -0600
commit69c2dd53adf126a3c68d2974b8753ae0f92ee854 (patch)
tree3b7d05d6a5ba584780585250fe4b899a4417d598 /packages/sdk/js/src
parent14a910bd64ae3c11b8ff0d2a6a5789d46bccb008 (diff)
downloadopencode-69c2dd53adf126a3c68d2974b8753ae0f92ee854.tar.gz
opencode-69c2dd53adf126a3c68d2974b8753ae0f92ee854.zip
config: add setCacheKey in provider options (#4738)
Co-authored-by: GitHub Action <[email protected]> Co-authored-by: Aiden Cline <[email protected]>
Diffstat (limited to 'packages/sdk/js/src')
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index 2de8ca2f1..6e3b8c071 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -1124,10 +1124,14 @@ export type Config = {
*/
enterpriseUrl?: string
/**
+ * Enable promptCacheKey for this provider (default false)
+ */
+ setCacheKey?: boolean
+ /**
* Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
*/
timeout?: number | false
- [key: string]: unknown | string | (number | false) | undefined
+ [key: string]: unknown | string | boolean | (number | false) | undefined
}
}
}