Skip to content

Commit

Permalink
feat: add optional TRANSCRIPTION_PROVIDER setting with fallback logic…
Browse files Browse the repository at this point in the history
…, moving twitter spaces plugins to Eliza repo
  • Loading branch information
slkzgm committed Dec 30, 2024
1 parent eeeb31c commit e479f05
Show file tree
Hide file tree
Showing 5 changed files with 621 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ LIVEPEER_IMAGE_MODEL= # Default: ByteDance/SDXL-Lightning
# Speech Synthesis
ELEVENLABS_XI_API_KEY= # API key from elevenlabs

# Transcription Provider
TRANSCRIPTION_PROVIDER= # Default: local (possible values: openai, deepgram, local)

# Direct Client Setting
EXPRESS_MAX_PAYLOAD= # Default: 100kb

Expand Down
6 changes: 5 additions & 1 deletion packages/client-twitter/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { Client, elizaLogger, IAgentRuntime } from "@elizaos/core";
import {
Client,
elizaLogger,
IAgentRuntime,
} from "@elizaos/core";
import { ClientBase } from "./base.ts";
import { validateTwitterConfig, TwitterConfig } from "./environment.ts";
import { TwitterInteractionClient } from "./interactions.ts";
Expand Down
Loading

0 comments on commit e479f05

Please sign in to comment.