-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1006 from ai16z/main
chore: Bring Develop up to date with HEAD
- Loading branch information
Showing
1,382 changed files
with
155,611 additions
and
66,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,253 @@ | ||
# Discord Configuration | ||
DISCORD_APPLICATION_ID= | ||
DISCORD_API_TOKEN= # Bot token | ||
DISCORD_VOICE_CHANNEL_ID= # The ID of the voice channel the bot should join (optional) | ||
|
||
# AI Model API Keys | ||
OPENAI_API_KEY= # OpenAI API key, starting with sk- | ||
SMALL_OPENAI_MODEL= # Default: gpt-4o-mini | ||
MEDIUM_OPENAI_MODEL= # Default: gpt-4o | ||
LARGE_OPENAI_MODEL= # Default: gpt-4o | ||
EMBEDDING_OPENAI_MODEL= # Default: text-embedding-3-small | ||
IMAGE_OPENAI_MODEL= # Default: dall-e-3 | ||
|
||
# Eternal AI's Decentralized Inference API | ||
ETERNALAI_URL= | ||
ETERNALAI_MODEL= #Default: "neuralmagic/Meta-Llama-3.1-405B-Instruct-quantized.w4a16" | ||
ETERNALAI_API_KEY= | ||
|
||
GROK_API_KEY= # GROK API Key | ||
GROQ_API_KEY= # Starts with gsk_ | ||
OPENROUTER_API_KEY= | ||
GOOGLE_GENERATIVE_AI_API_KEY= # Gemini API key | ||
|
||
ALI_BAILIAN_API_KEY= # Ali Bailian API Key | ||
VOLENGINE_API_KEY= # VolEngine API Key | ||
NANOGPT_API_KEY= # NanoGPT API Key | ||
|
||
HYPERBOLIC_API_KEY= # Hyperbolic API Key | ||
HYPERBOLIC_MODEL= | ||
IMAGE_HYPERBOLIC_MODEL= # Default: FLUX.1-dev | ||
SMALL_HYPERBOLIC_MODEL= # Default: meta-llama/Llama-3.2-3B-Instruct | ||
MEDIUM_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-70B-Instruct | ||
LARGE_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-405-Instruct | ||
|
||
# Speech Synthesis | ||
ELEVENLABS_XI_API_KEY= # API key from elevenlabs | ||
|
||
# ElevenLabs Settings | ||
ELEVENLABS_MODEL_ID=eleven_multilingual_v2 | ||
ELEVENLABS_VOICE_ID=21m00Tcm4TlvDq8ikWAM | ||
ELEVENLABS_VOICE_STABILITY=0.5 | ||
ELEVENLABS_VOICE_SIMILARITY_BOOST=0.9 | ||
ELEVENLABS_VOICE_STYLE=0.66 | ||
ELEVENLABS_VOICE_USE_SPEAKER_BOOST=false | ||
ELEVENLABS_OPTIMIZE_STREAMING_LATENCY=4 | ||
ELEVENLABS_OUTPUT_FORMAT=pcm_16000 | ||
|
||
# Twitter/X Configuration | ||
TWITTER_DRY_RUN=false | ||
TWITTER_USERNAME= # Account username | ||
TWITTER_PASSWORD= # Account password | ||
TWITTER_EMAIL= # Account email | ||
TWITTER_2FA_SECRET= | ||
TWITTER_COOKIES= # Account cookies | ||
TWITTER_POLL_INTERVAL=120 # How often (in seconds) the bot should check for interactions | ||
X_SERVER_URL= | ||
XAI_API_KEY= | ||
XAI_MODEL= | ||
|
||
# Post Interval Settings (in minutes) | ||
POST_INTERVAL_MIN= # Default: 90 | ||
POST_INTERVAL_MAX= # Default: 180 | ||
POST_IMMEDIATELY= | ||
|
||
# Feature Flags | ||
IMAGE_GEN= # Set to TRUE to enable image generation | ||
USE_OPENAI_EMBEDDING= # Set to TRUE for OpenAI/1536, leave blank for local | ||
USE_OLLAMA_EMBEDDING= # Set to TRUE for OLLAMA/1024, leave blank for local | ||
|
||
# OpenRouter Models | ||
OPENROUTER_MODEL= # Default: uses hermes 70b/405b | ||
SMALL_OPENROUTER_MODEL= | ||
MEDIUM_OPENROUTER_MODEL= | ||
LARGE_OPENROUTER_MODEL= | ||
|
||
# REDPILL Configuration | ||
# https://docs.red-pill.ai/get-started/supported-models | ||
REDPILL_API_KEY= # REDPILL API Key | ||
REDPILL_MODEL= | ||
SMALL_REDPILL_MODEL= # Default: gpt-4o-mini | ||
MEDIUM_REDPILL_MODEL= # Default: gpt-4o | ||
LARGE_REDPILL_MODEL= # Default: gpt-4o | ||
|
||
# Ollama Configuration | ||
OLLAMA_SERVER_URL= # Default: localhost:11434 | ||
OLLAMA_MODEL= | ||
OLLAMA_EMBEDDING_MODEL= # Default: mxbai-embed-large | ||
SMALL_OLLAMA_MODEL= # Default: llama3.2 | ||
MEDIUM_OLLAMA_MODEL= # Default: hermes3 | ||
LARGE_OLLAMA_MODEL= # Default: hermes3:70b | ||
|
||
# Google Configuration | ||
GOOGLE_MODEL= | ||
SMALL_GOOGLE_MODEL= # Default: gemini-1.5-flash-latest | ||
MEDIUM_GOOGLE_MODEL= # Default: gemini-1.5-flash-latest | ||
LARGE_GOOGLE_MODEL= # Default: gemini-1.5-pro-latest | ||
EMBEDDING_GOOGLE_MODEL= # Default: text-embedding-004 | ||
|
||
# Groq Configuration | ||
SMALL_GROQ_MODEL= # Default: llama-3.1-8b-instant | ||
MEDIUM_GROQ_MODEL= # Default: llama-3.3-70b-versatile | ||
LARGE_GROQ_MODEL= # Default: llama-3.2-90b-vision-preview | ||
EMBEDDING_GROQ_MODEL= # Default: llama-3.1-8b-instant | ||
|
||
# NanoGPT Configuration | ||
SMALL_NANOGPT_MODEL= # Default: gpt-4o-mini | ||
MEDIUM_NANOGPT_MODEL= # Default: gpt-4o | ||
LARGE_NANOGPT_MODEL= # Default: gpt-4o | ||
|
||
#LlamaLocal Configuration | ||
LLAMALOCAL_PATH= # Default: "" which is the current directory in plugin-node/dist/ which gets destroyed and recreated on every build | ||
|
||
# API Keys | ||
ANTHROPIC_API_KEY= # For Claude | ||
SMALL_ANTHROPIC_MODEL= # Default: claude-3-haiku-20240307 | ||
MEDIUM_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022 | ||
LARGE_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022 | ||
|
||
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access | ||
|
||
# Heurist Models | ||
SMALL_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct | ||
MEDIUM_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct | ||
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.1-405b-instruct | ||
HEURIST_IMAGE_MODEL= # Default: PepeXL | ||
|
||
# Gaianet Configuration | ||
GAIANET_MODEL= | ||
GAIANET_SERVER_URL= | ||
|
||
SMALL_GAIANET_MODEL= # Default: llama3b | ||
SMALL_GAIANET_SERVER_URL= # Default: https://llama3b.gaia.domains/v1 | ||
|
||
MEDIUM_GAIANET_MODEL= # Default: llama | ||
MEDIUM_GAIANET_SERVER_URL= # Default: https://llama8b.gaia.domains/v1 | ||
|
||
LARGE_GAIANET_MODEL= # Default: qwen72b | ||
LARGE_GAIANET_SERVER_URL= # Default: https://qwen72b.gaia.domains/v1 | ||
|
||
GAIANET_EMBEDDING_MODEL= | ||
USE_GAIANET_EMBEDDING= # Set to TRUE for GAIANET/768, leave blank for local | ||
|
||
# EVM | ||
EVM_PRIVATE_KEY= | ||
EVM_PROVIDER_URL= | ||
|
||
# Solana | ||
SOLANA_PRIVATE_KEY= | ||
SOLANA_PUBLIC_KEY= | ||
|
||
# Fallback Wallet Configuration (deprecated) | ||
WALLET_PRIVATE_KEY= | ||
WALLET_PUBLIC_KEY= | ||
|
||
BIRDEYE_API_KEY= | ||
|
||
# Solana Configuration | ||
SOL_ADDRESS=So11111111111111111111111111111111111111112 | ||
SLIPPAGE=1 | ||
BASE_MINT=So11111111111111111111111111111111111111112 | ||
RPC_URL=https://api.mainnet-beta.solana.com | ||
HELIUS_API_KEY= | ||
|
||
# Telegram Configuration | ||
TELEGRAM_BOT_TOKEN= | ||
|
||
# Together Configuration | ||
TOGETHER_API_KEY= | ||
|
||
# Server Configuration | ||
SERVER_PORT=3000 | ||
|
||
# Starknet Configuration | ||
STARKNET_ADDRESS= | ||
STARKNET_PRIVATE_KEY= | ||
STARKNET_RPC_URL= | ||
|
||
# Intiface Configuration | ||
INTIFACE_WEBSOCKET_URL=ws://localhost:12345 | ||
|
||
# Farcaster Neynar Configuration | ||
FARCASTER_FID= # the FID associated with the account your are sending casts from | ||
FARCASTER_NEYNAR_API_KEY= # Neynar API key: https://neynar.com/ | ||
FARCASTER_NEYNAR_SIGNER_UUID= # signer for the account you are sending casts from. create a signer here: https://dev.neynar.com/app | ||
FARCASTER_DRY_RUN=false # Set to true if you want to run the bot without actually publishing casts | ||
FARCASTER_POLL_INTERVAL=120 # How often (in seconds) the bot should check for farcaster interactions (replies and mentions) | ||
|
||
# Coinbase | ||
COINBASE_COMMERCE_KEY= # from coinbase developer portal | ||
COINBASE_API_KEY= # from coinbase developer portal | ||
COINBASE_PRIVATE_KEY= # from coinbase developer portal | ||
# if not configured it will be generated and written to runtime.character.settings.secrets.COINBASE_GENERATED_WALLET_ID and runtime.character.settings.secrets.COINBASE_GENERATED_WALLET_HEX_SEED | ||
COINBASE_GENERATED_WALLET_ID= # not your address but the wallet id from generating a wallet through the plugin | ||
COINBASE_GENERATED_WALLET_HEX_SEED= # not your address but the wallet hex seed from generating a wallet through the plugin and calling export | ||
# for webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site | ||
COINBASE_NOTIFICATION_URI= | ||
# Conflux Configuration | ||
CONFLUX_CORE_PRIVATE_KEY= | ||
CONFLUX_CORE_SPACE_RPC_URL= | ||
CONFLUX_ESPACE_PRIVATE_KEY= | ||
CONFLUX_ESPACE_RPC_URL= | ||
CONFLUX_MEME_CONTRACT_ADDRESS= | ||
|
||
#ZeroG | ||
ZEROG_INDEXER_RPC= | ||
ZEROG_EVM_RPC= | ||
ZEROG_PRIVATE_KEY= | ||
ZEROG_FLOW_ADDRESS= | ||
|
||
# TEE Configuration | ||
# TEE_MODE options: | ||
# - LOCAL: Uses simulator at localhost:8090 (for local development) | ||
# - DOCKER: Uses simulator at host.docker.internal:8090 (for docker development) | ||
# - PRODUCTION: No simulator, uses production endpoints | ||
# Defaults to OFF if not specified | ||
TEE_MODE=OFF #LOCAL|DOCKER|PRODUCTION | ||
WALLET_SECRET_SALT= # ONLY DEFINE IF YOU WANT TO USE TEE Plugin, otherwise it will throw errors | ||
|
||
# Galadriel Configuration | ||
GALADRIEL_API_KEY=gal-* # Get from https://dashboard.galadriel.com/ | ||
|
||
# fal.ai Configuration | ||
FAL_API_KEY= | ||
FAL_AI_LORA_PATH= | ||
|
||
# WhatsApp Cloud API Configuration | ||
WHATSAPP_ACCESS_TOKEN= # Permanent access token from Facebook Developer Console | ||
WHATSAPP_PHONE_NUMBER_ID= # Phone number ID from WhatsApp Business API | ||
WHATSAPP_BUSINESS_ACCOUNT_ID= # Business Account ID from Facebook Business Manager | ||
WHATSAPP_WEBHOOK_VERIFY_TOKEN= # Custom string for webhook verification | ||
WHATSAPP_API_VERSION=v17.0 # WhatsApp API version (default: v17.0) | ||
|
||
# Flow Blockchain Configuration | ||
FLOW_ADDRESS= | ||
FLOW_PRIVATE_KEY= # Private key for SHA3-256 + P256 ECDSA | ||
FLOW_NETWORK= # Default: mainnet | ||
FLOW_ENDPOINT_URL= # Default: https://mainnet.onflow.org | ||
|
||
# ICP | ||
INTERNET_COMPUTER_PRIVATE_KEY= | ||
INTERNET_COMPUTER_ADDRESS= | ||
|
||
# Aptos | ||
APTOS_PRIVATE_KEY= # Aptos private key | ||
APTOS_NETWORK= # must be one of mainnet, testnet | ||
|
||
|
||
# AWS S3 Configuration Settings for File Upload | ||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_REGION= | ||
AWS_S3_BUCKET= | ||
AWS_S3_UPLOAD_PATH= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"plugins": [ | ||
"@stylistic" | ||
], | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:@stylistic/recommended-extends" | ||
], | ||
"rules": { | ||
"@stylistic/indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"@stylistic/no-tabs": "error", | ||
"@stylistic/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@stylistic/eol-last": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/multiline-ternary": "off", | ||
"@stylistic/semi": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/quotes": "off", | ||
"@stylistic/comma-dangle": "off", | ||
"@stylistic/brace-style": [ | ||
"error", | ||
"1tbs" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Generate Changelog | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
jobs: | ||
changelog: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
token: ${{ secrets.CHANGELOG_GITHUB_TOKEN }} | ||
- name: Generate Changelog | ||
run: | | ||
export PATH="$PATH:/home/runner/.local/share/gem/ruby/3.0.0/bin" | ||
gem install --user-install github_changelog_generator | ||
github_changelog_generator \ | ||
-u ${{ github.repository_owner }} \ | ||
-p ${{ github.event.repository.name }} \ | ||
--token ${{ secrets.CHANGELOG_GITHUB_TOKEN }} | ||
- name: Commit Changelog | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: update changelog" | ||
branch: main | ||
file_pattern: "CHANGELOG.md" | ||
commit_author: "GitHub Action <actions@github.com>" |
Oops, something went wrong.