mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-25 18:14:58 +00: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