fix: promptCacheKey set unnecessarily
This commit is contained in:
parent
1e6589526d
commit
cf266f6162
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue