Skip to content

Commit

Permalink
🐛 fix: autosubmit format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Jul 15, 2024
1 parent 6610df9 commit 8933bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/autoSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ class AutoSubmit {
category: json.category,
readme: json.readme,
},
tts: JSON.parse(json.tts),
touch: JSON.parse(json.touch),
tts: json.tts ? JSON.parse(json.tts): undefined,
touch: json.touch? JSON.parse(json.touch): undefined,
model: json.model,
params: JSON.parse(json.params),
params: json.params? JSON.parse(json.params): undefined,
};

return { agent: await formatAgentSchema(agent ) };
Expand Down

0 comments on commit 8933bb2

Please sign in to comment.