File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class AI extends Helper {
7474 for ( const chunk of htmlChunks ) {
7575 const messages = [
7676 { role : gtpRole . user , content : prompt } ,
77- { role : gtpRole . user , content : `Within this HTML: ${ minifyHtml ( chunk ) } ` } ,
77+ { role : gtpRole . user , content : `Within this HTML: ${ await minifyHtml ( chunk ) } ` } ,
7878 ]
7979
8080 if ( htmlChunks . length > 1 )
@@ -110,7 +110,7 @@ class AI extends Helper {
110110
111111 const messages = [
112112 { role : gtpRole . user , content : prompt } ,
113- { role : gtpRole . user , content : `Within this HTML: ${ minifyHtml ( html ) } ` } ,
113+ { role : gtpRole . user , content : `Within this HTML: ${ await minifyHtml ( html ) } ` } ,
114114 ]
115115
116116 const response = await this . _processAIRequest ( messages )
You can’t perform that action at this time.
0 commit comments