🐛 fix bug stopping Ollama autodetect from working
This commit is contained in:
parent
a01435cc55
commit
02a6542dc0
1 changed files with 1 additions and 0 deletions
|
|
@ -187,5 +187,6 @@ export function getMarkdownLanguageTagForFile(filepath: string): string {
|
|||
}
|
||||
|
||||
export function copyOf(obj: any): any {
|
||||
if (obj === null || obj === undefined) return obj;
|
||||
return JSON.parse(JSON.stringify(obj));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue