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