diff --git a/TODO.md b/TODO.md index 7f9eb22..3de1e93 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,6 @@ # Sraipt TODO - Improve generation prompt -- Add support for arrow functions - Improve context to use similarity - Handle AI response that includes more than just the code - Performance benchmarks @@ -10,3 +9,4 @@ - Create module extender method for plug-and-play - Create a logs file - Add support for more webpack frameworks (Next, etc) +- Add support for locally hosted models diff --git a/src/modules/codeProcessing.ts b/src/modules/codeProcessing.ts index d05e838..0305169 100644 --- a/src/modules/codeProcessing.ts +++ b/src/modules/codeProcessing.ts @@ -33,7 +33,7 @@ export const isTypeScriptCode = (source: string): boolean => { plugins: ['@babel/plugin-syntax-jsx'], }); - return !!!AST; + return !AST; } catch (error) { return true; }