Skip to content

Commit

Permalink
fix: boolean parsing for openai plugin (elizaOS#2559)
Browse files Browse the repository at this point in the history
  • Loading branch information
lincheoll committed Jan 21, 2025
1 parent c761160 commit 5601cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ export async function createAgent(
? lightningPlugin
: null,
getSecret(character, "OPENAI_API_KEY") &&
getSecret(character, "ENABLE_OPEN_AI_COMMUNITY_PLUGIN") === "true"
parseBooleanFromText(getSecret(character, "ENABLE_OPEN_AI_COMMUNITY_PLUGIN"))
? openaiPlugin
: null,
getSecret(character, "DEVIN_API_TOKEN")
Expand Down

0 comments on commit 5601cd8

Please sign in to comment.