Skip to content

Commit 141306f

Browse files
committed
Merge branch 'shaw/update-env' of http://github.com/ai16z/eliza into HEAD
2 parents 0750a3f + d92d00b commit 141306f

File tree

5 files changed

+216
-186
lines changed

5 files changed

+216
-186
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ cache/*
4444
packages/plugin-coinbase/src/plugins/transactions.csv
4545
packages/plugin-coinbase/package-lock.json
4646

47-
.turbo
47+
tsup.config.bundled_*.mjs
4848

49-
tsup.config.bundled_*.mjs
49+
.turbo

docs/api/variables/messageCompletionFooter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Variable: messageCompletionFooter
44

5-
> `const` **messageCompletionFooter**: "\nResponse format should be formatted in a JSON block like this:\n\`\`\`json\n\{ \"user\": \"\{\{agentName\}\}\", \"text\": string, \"action\": \"string\" \}\n\`\`\`"
5+
> `const` **messageCompletionFooter**: "\nResponse format should be formatted in a JSON block like this:\n\`\`\`json\n\{ \"user\": \"\{\{agentName\}\}\", \"text\": \"string\", \"action\": \"string\" \}\n\`\`\`"
66
77
## Defined in
88

packages/client-twitter/src/enviroment.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export async function validateTwitterConfig(
2020
const config = {
2121
TWITTER_DRY_RUN:
2222
runtime.getSetting("TWITTER_DRY_RUN") ||
23-
process.env.TWITTER_DRY_RUN,
23+
process.env.TWITTER_DRY_RUN ||
24+
"false",
2425
TWITTER_USERNAME:
2526
runtime.getSetting("TWITTER_USERNAME") ||
2627
process.env.TWITTER_USERNAME,

packages/plugin-solana/src/providers/wallet.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,10 @@ const walletProvider: Provider = {
372372
try {
373373
const publicKey = runtime.getSetting("SOLANA_PUBLIC_KEY");
374374
if (!publicKey) {
375-
throw new Error("SOLANA_PUBLIC_KEY not configured");
375+
console.error(
376+
"SOLANA_PUBLIC_KEY not configured, skipping wallet injection"
377+
);
378+
return "";
376379
}
377380

378381
const connection = new Connection(

0 commit comments

Comments
 (0)