Skip to content

Commit dc16a78

Browse files
committed
replace fetch with node-fetch
1 parent dab5b2a commit dc16a78

File tree

1 file changed

+1
-0
lines changed
  • src/contributes/codecomplete

1 file changed

+1
-0
lines changed

src/contributes/codecomplete/llm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
通过LLM模型生成代码补全
44
*/
55
import axios from 'axios';
6+
import fetch from 'node-fetch';
67

78
import { logger } from "../../util/logger";
89
import { Chunk } from 'webpack';

0 commit comments

Comments
 (0)