Skip to content

Commit

Permalink
Merge pull request #19 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 51e4e06 + 3d21b55 commit 0b5a57d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/autoSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class AutoSubmit {
author: data.user.login,
systemRole: json.systemRole,
homepage: data.user.html_url,
agentId: kebabCase(json.identifier),
agentId: kebabCase(json.agentId),
meta: {
name: json.name,
avatar: json.avatar,
Expand Down
14 changes: 10 additions & 4 deletions scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ export const checkHeader = (line: string) => {
'### systemRole',
'### agentId',
'### avatar',
'### cover',
'### cover',
'### name',
'### description',
'### model',
'### tags',
'### locale',
'### modelUrl',
'### model',
'### gender',
'### category',
'### tts',
'### touch',
'### params',


];
let check = false;
header.forEach((item) => {
Expand Down

0 comments on commit 0b5a57d

Please sign in to comment.