Spaces:
Running
Running
DeFactOfficial
commited on
Commit
•
979370a
1
Parent(s):
1f7074d
Update llm.js
Browse files
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.
|
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 |
|