DeFactOfficial commited on
Commit
979370a
1 Parent(s): 1f7074d

Update llm.js

Browse files
Files changed (1) hide show
  1. llm.js +1 -1
llm.js CHANGED
@@ -53,7 +53,7 @@ Do not wrap the response in code blocks or quotes - respond with pure HTML.`
53
  });
54
 
55
  // Extract generated HTML from the response
56
- const generatedHtml = result.generated_text.trim();
57
 
58
  // Validate that the response contains HTML
59
 
 
53
  });
54
 
55
  // Extract generated HTML from the response
56
+ const generatedHtml = result.choices[0].message.content
57
 
58
  // Validate that the response contains HTML
59