Skip to content

Commit 1d4b3f7

Browse files
committed
missing name in cache
1 parent 1659a7b commit 1d4b3f7

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/core/src/fscache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class FsCache<K, V> implements WorkspaceFileCache<any, any> {
3030
}
3131

3232
private cacheFilename(sha: string) {
33-
return join(this.folder(), sha + ".json")
33+
return join(this.folder(), this.name, sha + ".json")
3434
}
3535

3636
async get(key: any): Promise<any> {

packages/vscode/src/markdowndocumentprovider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
} from "./state"
99
import { showMarkdownPreview } from "./markdown"
1010
import { registerCommand } from "./commands"
11-
import { getChatCompletionCache } from "../../core/src/chatcache"
1211
import { TRACE_NODE_PREFIX } from "../../core/src/constants"
1312
import { prettifyMarkdown } from "../../core/src/markdown"
1413
import {

0 commit comments

Comments
 (0)