Skip to content

Commit

Permalink
Merge pull request #20 from lobehub/feat/autoSubmit
Browse files Browse the repository at this point in the history
✨ fix: check problem
  • Loading branch information
rdmclin2 authored Jul 6, 2024
2 parents 0b5a57d + cc30215 commit 76e0e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/schema/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const MetaSchema = z.object({

export const LLMParams = z.object({
frequency_penalty: z.number().default(0),
max_tokens: z.number(),
max_tokens: z.number().optional(),
presence_penalty: z.number().default(0),
temperature: z.number().default(0.6),
top_p: z.number().default(1),
Expand Down
2 changes: 2 additions & 0 deletions scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const checkHeader = (line: string) => {
'### avatar',
'### cover',
'### name',
'### greeting',
'### description',
'### readme',
'### modelUrl',
'### model',
'### gender',
Expand Down

0 comments on commit 76e0e70

Please sign in to comment.