Skip to content

Commit

Permalink
Fix #28
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosrealm committed Jul 12, 2024
1 parent be10557 commit 7d05587
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cortex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Cortex {
overrides: {
companyInfo: body.companyInfo,
companyName: body.companyName,
inheritRules: !!body.inheritRules,
inheritRules: body.inheritRules === false ? false : true,
},
};
return new Cortex(config, apiClient, name);
Expand All @@ -156,7 +156,7 @@ export class Cortex {
examples: config.chatConfig?.examples,
greeting: config.chatConfig?.greeting,
intro: config.chatConfig?.intro,
inheritRules: !!config.overrides?.inheritRules,
inheritRules: config.overrides?.inheritRules === false ? false : true,
public: !!config.public,
instructions: config.instructions,
personality: config.customizations?.personality,
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d05587

Please sign in to comment.