Skip to content

Commit 17ea2ea

Browse files
authored
Merge branch 'develop' into add_gemini_to_image_recognition
2 parents 6a99986 + b9dc459 commit 17ea2ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2787
-5813
lines changed

.env.example

+9
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@ TOGETHER_API_KEY= # Together API Key
257257
#### Crypto Plugin Configurations ####
258258
######################################
259259

260+
# CoinMarketCap / CMC
261+
COINMARKETCAP_API_KEY=
262+
263+
# CoinGecko
264+
COINGECKO_API_KEY=
265+
COINGECKO_PRO_API_KEY=
266+
260267
# EVM
261268
EVM_PRIVATE_KEY=
262269
EVM_PROVIDER_URL=
@@ -434,6 +441,8 @@ GIPHY_API_KEY=
434441
# OpenWeather
435442
OPEN_WEATHER_API_KEY= # OpenWeather API key
436443

444+
445+
437446
# EchoChambers Configuration
438447
ECHOCHAMBERS_API_URL=http://127.0.0.1:3333
439448
ECHOCHAMBERS_API_KEY=testingkey0011

agent/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@
3434
"@elizaos/plugin-0g": "workspace:*",
3535
"@elizaos/plugin-abstract": "workspace:*",
3636
"@elizaos/plugin-aptos": "workspace:*",
37+
"@elizaos/plugin-coingecko": "workspace:*",
3738
"@elizaos/plugin-coinmarketcap": "workspace:*",
39+
"@elizaos/plugin-coingecko": "workspace:*",
3840
"@elizaos/plugin-binance": "workspace:*",
3941
"@elizaos/plugin-avail": "workspace:*",
4042
"@elizaos/plugin-bootstrap": "workspace:*",
4143
"@elizaos/plugin-cosmos": "workspace:*",
4244
"@elizaos/plugin-intiface": "workspace:*",
4345
"@elizaos/plugin-coinbase": "workspace:*",
44-
"@elizaos/plugin-coinprice": "workspace:*",
4546
"@elizaos/plugin-conflux": "workspace:*",
4647
"@elizaos/plugin-evm": "workspace:*",
4748
"@elizaos/plugin-echochambers": "workspace:*",
@@ -94,4 +95,4 @@
9495
"ts-node": "10.9.2",
9596
"tsup": "8.3.5"
9697
}
97-
}
98+
}

agent/src/index.ts

+10-7
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import {
5353
webhookPlugin,
5454
} from "@elizaos/plugin-coinbase";
5555
import { coinmarketcapPlugin } from "@elizaos/plugin-coinmarketcap";
56-
import { coinPricePlugin } from "@elizaos/plugin-coinprice";
56+
import { coingeckoPlugin } from "@elizaos/plugin-coingecko";
5757
import { confluxPlugin } from "@elizaos/plugin-conflux";
5858
import { createCosmosPlugin } from "@elizaos/plugin-cosmos";
5959
import { cronosZkEVMPlugin } from "@elizaos/plugin-cronoszkevm";
@@ -68,17 +68,18 @@ import { nearPlugin } from "@elizaos/plugin-near";
6868
import { nftGenerationPlugin } from "@elizaos/plugin-nft-generation";
6969
import { createNodePlugin } from "@elizaos/plugin-node";
7070
import { obsidianPlugin } from "@elizaos/plugin-obsidian";
71+
import { sgxPlugin } from "@elizaos/plugin-sgx";
7172
import { solanaPlugin } from "@elizaos/plugin-solana";
7273
import { solanaAgentkitPlguin } from "@elizaos/plugin-solana-agentkit";
7374
import { storyPlugin } from "@elizaos/plugin-story";
7475
import { suiPlugin } from "@elizaos/plugin-sui";
75-
import { sgxPlugin } from "@elizaos/plugin-sgx";
7676
import { TEEMode, teePlugin } from "@elizaos/plugin-tee";
7777
import { teeLogPlugin } from "@elizaos/plugin-tee-log";
7878
import { teeMarlinPlugin } from "@elizaos/plugin-tee-marlin";
7979
import { tonPlugin } from "@elizaos/plugin-ton";
8080
import { webSearchPlugin } from "@elizaos/plugin-web-search";
8181

82+
import { coingeckoPlugin } from "@elizaos/plugin-coingecko";
8283
import { giphyPlugin } from "@elizaos/plugin-giphy";
8384
import { letzAIPlugin } from "@elizaos/plugin-letzai";
8485
import { thirdwebPlugin } from "@elizaos/plugin-thirdweb";
@@ -608,7 +609,6 @@ export async function createAgent(
608609
? confluxPlugin
609610
: null,
610611
nodePlugin,
611-
coinPricePlugin,
612612
getSecret(character, "TAVILY_API_KEY") ? webSearchPlugin : null,
613613
getSecret(character, "SOLANA_PUBLIC_KEY") ||
614614
(getSecret(character, "WALLET_PUBLIC_KEY") &&
@@ -668,9 +668,9 @@ export async function createAgent(
668668
: []),
669669
...(teeMode !== TEEMode.OFF && walletSecretSalt ? [teePlugin] : []),
670670
getSecret(character, "SGX") ? sgxPlugin : null,
671-
(getSecret(character, "ENABLE_TEE_LOG") &&
672-
((teeMode !== TEEMode.OFF && walletSecretSalt) ||
673-
getSecret(character, "SGX")))
671+
getSecret(character, "ENABLE_TEE_LOG") &&
672+
((teeMode !== TEEMode.OFF && walletSecretSalt) ||
673+
getSecret(character, "SGX"))
674674
? teeLogPlugin
675675
: null,
676676
getSecret(character, "COINBASE_API_KEY") &&
@@ -679,7 +679,10 @@ export async function createAgent(
679679
? webhookPlugin
680680
: null,
681681
goatPlugin,
682-
getSecret(character, "COINGECKO_API_KEY") ? coingeckoPlugin : null,
682+
getSecret(character, "COINGECKO_API_KEY") ||
683+
getSecret(character, "COINGECKO_PRO_API_KEY")
684+
? coingeckoPlugin
685+
: null,
683686
getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
684687
getSecret(character, "ABSTRACT_PRIVATE_KEY")
685688
? abstractPlugin

packages/client-twitter/src/plugins/SttTtsSpacesPlugin.ts

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ interface PluginConfig {
2828
* - On speaker mute -> flush STT -> GPT -> TTS -> push to Janus
2929
*/
3030
export class SttTtsPlugin implements Plugin {
31+
name = "SttTtsPlugin";
32+
description = "Speech-to-text (OpenAI) + conversation + TTS (ElevenLabs)";
33+
3134
private space?: Space;
3235
private janus?: JanusClient;
3336

0 commit comments

Comments
 (0)