Skip to content

Commit

Permalink
Merge pull request #14 from eltociear/patch-1
Browse files Browse the repository at this point in the history
Update openai.ts
  • Loading branch information
vanpelt authored Apr 2, 2024
2 parents 260de18 + 85deb80 commit 70b14b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function createOrRefine(
let { model, systemPrompt: sp } = options
const { temperature, query, html, image } = options
// Add instructions for frontmatter unless we're iterating on existing html
// Some models don't support this being in a seperate system message so we append
// Some models don't support this being in a separate system message so we append
if (!html) {
sp += `\n\nAlways start your response with frontmatter wrapped in ---. Set name: with a 2 to 5 word description of the component. Set emoji: with an emoji for the component, i.e.:
---
Expand Down

0 comments on commit 70b14b4

Please sign in to comment.