Skip to content

Commit

Permalink
Merge branch 'main' into add-hyperbolic
Browse files Browse the repository at this point in the history
  • Loading branch information
meppsilon authored Dec 9, 2024
2 parents 7cbb6f0 + a26bf19 commit 840bcb9
Show file tree
Hide file tree
Showing 337 changed files with 18,801 additions and 5,351 deletions.
63 changes: 46 additions & 17 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@ 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

#LlamaLocal Configuration
LLAMALOCAL_PATH= # Default: "" which is the current directory in plugin-node/dist/ which gets destroyed and recreated on every build

Expand All @@ -84,15 +97,26 @@ ANTHROPIC_API_KEY= # For Claude
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access

# Heurist Models
SMALL_HEURIST_LANGUAGE_MODEL=
MEDIUM_HEURIST_LANGUAGE_MODEL=
LARGE_HEURIST_LANGUAGE_MODEL=
HEURIST_IMAGE_MODEL=
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=
Expand Down Expand Up @@ -132,10 +156,12 @@ STARKNET_RPC_URL=
# Intiface Configuration
INTIFACE_WEBSOCKET_URL=ws://localhost:12345

# Farcaster
FARCASTER_HUB_URL=
FARCASTER_FID=
FARCASTER_PRIVATE_KEY=
# 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
Expand All @@ -144,7 +170,8 @@ 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=
Expand All @@ -158,14 +185,6 @@ ZEROG_EVM_RPC=
ZEROG_PRIVATE_KEY=
ZEROG_FLOW_ADDRESS=

# Coinbase
COINBASE_COMMERCE_KEY=
COINBASE_API_KEY=
COINBASE_PRIVATE_KEY=

COINBASE_GENERATED_WALLET_ID=
COINBASE_GENERATED_WALLET_HEX_SEED=

# TEE Configuration
DSTACK_SIMULATOR_ENDPOINT=
WALLET_SECRET_SALT= # ONLY DEFINE IF YOU WANT TO USE TEE Plugin, otherwise it will throw errors
Expand All @@ -184,6 +203,16 @@ WHATSAPP_BUSINESS_ACCOUNT_ID= # Business Account ID from Facebook Business Mana
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build packages
run: pnpm run build

# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v5
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
46 changes: 16 additions & 30 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Release

on:
release:
types: [created]
workflow_dispatch:
inputs:
release_type:
description: "Type of release (prerelease, prepatch, patch, minor, preminor, major)"
required: true
default: "patch"

jobs:
release:
Expand Down Expand Up @@ -43,33 +40,22 @@ jobs:
- name: Build packages
run: pnpm run build

- name: Tag and Publish Packages
id: tag_publish
- name: Publish Packages
id: publish
run: |
npx lerna version ${{ github.event.inputs.release_type }} --conventional-commits --yes --no-private --force-publish
npx lerna publish from-git --yes --dist-tag ${{ github.event.inputs.release_type == 'preminor' && 'next' || 'latest' }}
# Get the latest release tag
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
- name: Get Version Tag
id: get_tag
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
# Force clean the working directory and reset any changes
echo "Cleaning working directory and resetting any changes"
git clean -fd
git reset --hard HEAD
- name: Generate Release Body
id: release_body
run: |
if [ -f CHANGELOG.md ]; then
echo "body=$(cat CHANGELOG.md)" >> $GITHUB_OUTPUT
else
echo "body=No changelog provided for this release." >> $GITHUB_OUTPUT
fi
# Force checkout the latest tag
echo "Checking out latest tag: $LATEST_TAG"
git checkout -b temp-publish-branch $LATEST_TAG
- name: Create GitHub Release
uses: actions/create-release@v1
echo "Publishing version: $LATEST_TAG"
npx lerna publish from-package --yes --dist-tag latest
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
with:
tag_name: ${{ steps.get_tag.outputs.TAG }}
release_name: Release
body_path: CHANGELOG.md
draft: false
prerelease: false
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"typescript.format.enable": false,
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true,
"cadence.test.maxConcurrency": 5,
"cadence.customConfigPath": "packages/plugin-flow/flow.json",
"[properties]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
Expand Down Expand Up @@ -42,4 +44,4 @@
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
}
}
}
95 changes: 95 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,100 @@
# Changelog

## [v0.1.5-alpha.5](/~https://github.com/ai16z/eliza/tree/v0.1.5-alpha.5) (2024-12-07)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.5-alpha.4...v0.1.5-alpha.5)

**Merged pull requests:**

- feat: working farcaster client with neynar [\#570](/~https://github.com/ai16z/eliza/pull/570) ([sayangel](/~https://github.com/sayangel))

## [v0.1.5-alpha.4](/~https://github.com/ai16z/eliza/tree/v0.1.5-alpha.4) (2024-12-06)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.5-alpha.3...v0.1.5-alpha.4)

**Fixed bugs:**

- `pnpm start` crashes if there is too much data in knowledge [\#866](/~https://github.com/ai16z/eliza/issues/866)
- Twitter login some function not work. [\#857](/~https://github.com/ai16z/eliza/issues/857)

**Merged pull requests:**

- docs: Add AI Agent Dev School Parts 2 and 3 summaries and timestamps [\#877](/~https://github.com/ai16z/eliza/pull/877) ([YoungPhlo](/~https://github.com/YoungPhlo))
- Add google model env vars [\#875](/~https://github.com/ai16z/eliza/pull/875) ([peersky](/~https://github.com/peersky))
- Update quickstart.md [\#872](/~https://github.com/ai16z/eliza/pull/872) ([oxSaturn](/~https://github.com/oxSaturn))
- Remove duplicated coinbase CDP options in .env.example [\#863](/~https://github.com/ai16z/eliza/pull/863) ([juntao](/~https://github.com/juntao))
- test: adding environment and knowledge tests [\#862](/~https://github.com/ai16z/eliza/pull/862) ([ai16z-demirix](/~https://github.com/ai16z-demirix))
- Updated quickstart.md to contemplate common issue [\#861](/~https://github.com/ai16z/eliza/pull/861) ([fede2442](/~https://github.com/fede2442))
- fix: Use LARGE models for responses [\#853](/~https://github.com/ai16z/eliza/pull/853) ([lalalune](/~https://github.com/lalalune))
- Update Node version in local-development.md [\#850](/~https://github.com/ai16z/eliza/pull/850) ([oxSaturn](/~https://github.com/oxSaturn))
- fix: plugins docs [\#848](/~https://github.com/ai16z/eliza/pull/848) ([cygaar](/~https://github.com/cygaar))
- fix: run release workflow after a github release is created [\#846](/~https://github.com/ai16z/eliza/pull/846) ([cygaar](/~https://github.com/cygaar))
- fix: Include scripts/postinstall.js in the final NPM package [\#843](/~https://github.com/ai16z/eliza/pull/843) ([martincik](/~https://github.com/martincik))
- feat: add Aptos plugin [\#818](/~https://github.com/ai16z/eliza/pull/818) ([0xaptosj](/~https://github.com/0xaptosj))
- feat: add coinbase ERC20, ERC721, and ERC1155 tokenContract deployment / invokement plugin [\#803](/~https://github.com/ai16z/eliza/pull/803) ([monilpat](/~https://github.com/monilpat))
- feat: coinbase webhook + add more examples + testing [\#801](/~https://github.com/ai16z/eliza/pull/801) ([monilpat](/~https://github.com/monilpat))

## [v0.1.5-alpha.3](/~https://github.com/ai16z/eliza/tree/v0.1.5-alpha.3) (2024-12-04)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.5-alpha.2...v0.1.5-alpha.3)

**Merged pull requests:**

- chore: bump version to 0.1.5-alpha.3 [\#838](/~https://github.com/ai16z/eliza/pull/838) ([cygaar](/~https://github.com/cygaar))
- chore: Revert/viem version and bump @goat-sdk/plugin-erc20 [\#836](/~https://github.com/ai16z/eliza/pull/836) ([shakkernerd](/~https://github.com/shakkernerd))
- chore: revert viem package version [\#834](/~https://github.com/ai16z/eliza/pull/834) ([shakkernerd](/~https://github.com/shakkernerd))

## [v0.1.5-alpha.2](/~https://github.com/ai16z/eliza/tree/v0.1.5-alpha.2) (2024-12-04)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.5-alpha.0...v0.1.5-alpha.2)

**Implemented enhancements:**

- feat: Add circuit breaker pattern for database operations [\#712](/~https://github.com/ai16z/eliza/issues/712)

**Fixed bugs:**

- 404 Localhost port 3000 [\#804](/~https://github.com/ai16z/eliza/issues/804)
- actions examples selection does not select things properly [\#798](/~https://github.com/ai16z/eliza/issues/798)
- recentPosts always empty [\#679](/~https://github.com/ai16z/eliza/issues/679)

**Merged pull requests:**

- chore: bump version to 0.1.5-alpha.1 [\#833](/~https://github.com/ai16z/eliza/pull/833) ([cygaar](/~https://github.com/cygaar))
- fix: pin all node dependencies + update @solana/web3.js to safe version [\#832](/~https://github.com/ai16z/eliza/pull/832) ([cygaar](/~https://github.com/cygaar))
- fix: docker-setup.md [\#826](/~https://github.com/ai16z/eliza/pull/826) ([Freytes](/~https://github.com/Freytes))
- fix: twitter cache expires [\#824](/~https://github.com/ai16z/eliza/pull/824) ([palsp](/~https://github.com/palsp))
- feat: \(core\) Add circuit breaker pattern for database operations -… [\#812](/~https://github.com/ai16z/eliza/pull/812) ([augchan42](/~https://github.com/augchan42))
- fix: lerna publish command [\#811](/~https://github.com/ai16z/eliza/pull/811) ([cygaar](/~https://github.com/cygaar))

## [v0.1.5-alpha.0](/~https://github.com/ai16z/eliza/tree/v0.1.5-alpha.0) (2024-12-03)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.5...v0.1.5-alpha.0)

**Fixed bugs:**

- Plugin system in character.plugins is not working [\#795](/~https://github.com/ai16z/eliza/issues/795)

**Closed issues:**

- State should use a cosine similarity of messages in the DB [\#471](/~https://github.com/ai16z/eliza/issues/471)

**Merged pull requests:**

- fix: update package version to v0.1.5-alpha.0 [\#808](/~https://github.com/ai16z/eliza/pull/808) ([cygaar](/~https://github.com/cygaar))
- fix: release workflow part 3 [\#807](/~https://github.com/ai16z/eliza/pull/807) ([cygaar](/~https://github.com/cygaar))
- fix: part 2 of updating the npm publish workflow [\#806](/~https://github.com/ai16z/eliza/pull/806) ([cygaar](/~https://github.com/cygaar))
- fix: update npm publication workflow [\#805](/~https://github.com/ai16z/eliza/pull/805) ([cygaar](/~https://github.com/cygaar))
- fix: swap type error, create user trust on first message in telegram [\#800](/~https://github.com/ai16z/eliza/pull/800) ([MarcoMandar](/~https://github.com/MarcoMandar))
- refactor: Improve actions samples random selection [\#799](/~https://github.com/ai16z/eliza/pull/799) ([dievardump](/~https://github.com/dievardump))
- fix: Docker default non-interactive mode for Cloud instances [\#796](/~https://github.com/ai16z/eliza/pull/796) ([rarepepi](/~https://github.com/rarepepi))
- fix: dev command [\#793](/~https://github.com/ai16z/eliza/pull/793) ([shakkernerd](/~https://github.com/shakkernerd))
- chore: update README\_KOR.md to match latest README.md [\#789](/~https://github.com/ai16z/eliza/pull/789) ([mike0295](/~https://github.com/mike0295))
- fix: enviroment -\> environment [\#787](/~https://github.com/ai16z/eliza/pull/787) ([tomguluson92](/~https://github.com/tomguluson92))
- Update generation.ts to fix TOGETHER/LLAMACLOUD image generation [\#786](/~https://github.com/ai16z/eliza/pull/786) ([ProphetX10](/~https://github.com/ProphetX10))
- fixs: uuid compatible for number [\#785](/~https://github.com/ai16z/eliza/pull/785) ([tomguluson92](/~https://github.com/tomguluson92))
- fix: When the plugins field in the .character.json file is configured with plugin name. [\#784](/~https://github.com/ai16z/eliza/pull/784) ([xwxtwd](/~https://github.com/xwxtwd))

## [v0.1.5](/~https://github.com/ai16z/eliza/tree/v0.1.5) (2024-12-02)

[Full Changelog](/~https://github.com/ai16z/eliza/compare/v0.1.4-alpha.3...v0.1.5)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ COPY --from=builder /app/scripts ./scripts
COPY --from=builder /app/characters ./characters

# Set the command to run the application
CMD ["pnpm", "start"]
CMD ["pnpm", "start", "--non-interactive"]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
</div>

<div align="center">

📖 [Documentation](https://ai16z.github.io/eliza/) | 🎯 [Examples](/~https://github.com/thejoven/awesome-eliza)

</div>

## 🌍 README Translations

[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md)
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md)

## ✨ Features

Expand Down
2 changes: 1 addition & 1 deletion README_KOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pnpm install --include=optional sharp

### Community & contact

- [깃헙 이슈](/~https://github.com/ai16z/eliza/issues). 용도: Eliza 사용 중 발견된 버그 리포트, 기능 제안.
- [Github Issues](/~https://github.com/ai16z/eliza/issues). 용도: Eliza 사용 중 발견된 버그 리포트, 기능 제안.
- [Discord](https://discord.gg/ai16z). 용도: 애플리케이션 공유 및 커뮤니티 활동.

## 컨트리뷰터
Expand Down
Loading

0 comments on commit 840bcb9

Please sign in to comment.