mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 16:54:22 +01:00
fix: promptCacheKey set unnecessarily
This commit is contained in:
@@ -136,7 +136,7 @@ export namespace ProviderTransform {
|
|||||||
): Record<string, any> | undefined {
|
): Record<string, any> | undefined {
|
||||||
const result: Record<string, any> = {}
|
const result: Record<string, any> = {}
|
||||||
|
|
||||||
if (providerID === "openai" || npm.includes("openai")) {
|
if (providerID === "openai") {
|
||||||
result["promptCacheKey"] = sessionID
|
result["promptCacheKey"] = sessionID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user