Skip to content

Commit

Permalink
feat: add limit to generation
Browse files Browse the repository at this point in the history
  • Loading branch information
avitorio committed Oct 24, 2023
1 parent adc76ce commit 9ff5739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/outstatic/src/app/api/generate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default async function POST(req: Request): Promise<Response> {
content:
'You are an AI writing assistant that autocompletes existing text based on context from prior text. ' +
'Give more weight/priority to the later characters than the beginning ones.' +
'If the context asks for code, return markdown code blocks.'
'Limit your response to no more than 200 characters, but make sure to construct complete sentences.'
},
{
role: 'user',
Expand Down

0 comments on commit 9ff5739

Please sign in to comment.