Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main sync #2

Merged
merged 134 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
d8470eb
feat: add TEE mode to Solana Plugin
HashWarlock Dec 4, 2024
8a5f779
add reportdata hash to log for users to verify
HashWarlock Dec 4, 2024
64a2540
update .env.example with TEE_MODE
HashWarlock Dec 4, 2024
aa21a9b
refactor: extract getting the public key or keypair to reduce repetit…
HashWarlock Dec 5, 2024
bd6032b
upgrade the dstack-sdk version and clean up logging for remote attest…
HashWarlock Dec 6, 2024
cfe7cad
Add skeleton of docs page for Eliza in TEE
HashWarlock Dec 6, 2024
c39b9a2
github image cicd
v1xingyue Dec 7, 2024
f99000e
cicd when release
v1xingyue Dec 7, 2024
ef60886
Pass env variables when setting up GOAT
0xaguspunk Dec 7, 2024
acc2a45
Update chain to base
0xaguspunk Dec 7, 2024
d052002
docs: add tutorial for Eliza in TEE
HashWarlock Dec 7, 2024
ba18167
docs: add overview
HashWarlock Dec 7, 2024
29689d1
Merge branch 'main' into add-tee-mode
HashWarlock Dec 7, 2024
16f0499
pnpm build have bugs with Dockerfile
v1xingyue Dec 8, 2024
53ba057
fix: resolve lint errors
HashWarlock Dec 8, 2024
96217b7
Add NanoGPT model provider
Dec 8, 2024
f904d5e
Allow configuring NanoGPT models
Dec 9, 2024
1115c68
Merge branch 'main' into add-tee-mode
HashWarlock Dec 9, 2024
4af1346
feat: update provider output
btspoony Dec 7, 2024
68c2600
feat: improve prompt
btspoony Dec 7, 2024
600cc10
feat: update evm transaction call cdc file
btspoony Dec 7, 2024
e508f8d
feat: use generateObjectArray instead of generateObjectDEPRECATED
btspoony Dec 9, 2024
fc24353
add missing callback handler to runtime evaluate method
bmgalego Dec 9, 2024
703bc54
feat: allow character.json settings => secrets to override models for…
odilitime Dec 10, 2024
8c54fba
revert llamacloud endpoint change
odilitime Dec 10, 2024
82b90d3
rename intiface plugin
odilitime Dec 10, 2024
4528c46
rename intiface-user-device-config.json
odilitime Dec 10, 2024
8debe12
rename intiface plugin
odilitime Dec 10, 2024
cc1a940
rename intiface plugin
odilitime Dec 10, 2024
9059d9c
Merge branch 'main' into tbh/flow-update-generateObject
btspoony Dec 10, 2024
24284fa
fix: remove undefined function, add lint to plugin-tee
HashWarlock Dec 10, 2024
c5e4141
client-linkedin initial
bkellgren Dec 10, 2024
c4291ec
Add hyperbolic env vars to override model class
meppsilon Dec 10, 2024
39d5017
Merge pull request #974 from meppsilon/add-hyperbolic-vars
odilitime Dec 10, 2024
c62a518
Merge pull request #898 from goat-sdk/plugin-secrets
odilitime Dec 10, 2024
870e469
chore: add how to startup chat ui
yodamaster726 Dec 10, 2024
26cec60
feat: add dynamic watch paths for agent development
samuveth Dec 9, 2024
98bfcfc
Fix use of Heurist model env vars
boxhock Dec 8, 2024
1e8fd6f
chore: variables naming consistency
shakkernerd Dec 9, 2024
ad9c195
fix: update quickstart and .env.example
oxSaturn Dec 9, 2024
5d65444
add default
oxSaturn Dec 9, 2024
b660b2c
feat: add readContract functionality to Coinbase plugin
monilpat Dec 8, 2024
bc75806
get read contract working :)
monilpat Dec 8, 2024
c21b52a
remove hardcoding
monilpat Dec 8, 2024
7a20eaa
update format
monilpat Dec 8, 2024
8c27b69
get invoking smart contract working
monilpat Dec 8, 2024
f970c45
fix response memory userId to agentId
bmgalego Dec 9, 2024
5dfc334
feat: config eternalai model from env
eternal-ai-org Dec 9, 2024
6d1f4e2
feat: config eternalai model from env
eternal-ai-org Dec 9, 2024
369949a
feat: config eternalai model from env
eternal-ai-org Dec 10, 2024
0caa078
Add hyperbolic api to eliza
meppsilon Dec 2, 2024
ac5099c
Add doc files
meppsilon Dec 5, 2024
0b24f4f
Clean up old code
meppsilon Dec 5, 2024
01d35eb
Fix model type alias
meppsilon Dec 5, 2024
de1236b
docs: add WSL installation guide
ileana-pr Dec 9, 2024
02725cf
Revert "docs: add WSL installation guide"
monilpat Dec 10, 2024
49b6672
fix: farcaster client does NOT fire action
sin-bufan Dec 10, 2024
1a5978e
add cast hash to memory in processActions
sin-bufan Dec 10, 2024
412ccb2
fix(agent): correct EVM plugin activation condition
0xAsten Dec 10, 2024
c246a6c
fix: use MAX_TWEET_LENGTH from setting
oxSaturn Dec 10, 2024
b3de60d
use DEFAULT_MAX_TWEET_LENGTH
oxSaturn Dec 10, 2024
4d10945
feat: Supports uploading files to AWS S3.
xwxtwd Dec 9, 2024
4c374b0
fix: update package name in faq
oxSaturn Dec 9, 2024
1f95de1
process all responses actions
bmgalego Dec 9, 2024
c03f212
add many other EVM chains configs
0xCardinalError Dec 9, 2024
84993b6
add types
0xCardinalError Dec 9, 2024
d9da50e
add imports
0xCardinalError Dec 9, 2024
36e8d78
use proper names
0xCardinalError Dec 10, 2024
773f11e
refactor files for easier maintance
0xCardinalError Dec 10, 2024
6f8b903
add other chains to templates
0xCardinalError Dec 10, 2024
9b5aca6
fix the path to getChains
0xCardinalError Dec 10, 2024
ec5c2f4
feat: add dev script to plugin-aptos
asianviking Dec 10, 2024
5455c88
Add hyperbolic env vars to override model class
meppsilon Dec 10, 2024
d97bf21
fix: remove copy file
yodamaster726 Dec 10, 2024
e432a83
Merge branch 'main' into add-nano-gpt-provider
odilitime Dec 10, 2024
e9a9699
Remove duplicate TOGETHER on switch
odilitime Dec 10, 2024
f0f1f00
fix jsdoc
bmgalego Dec 10, 2024
3875677
Pass env variables when setting up GOAT
0xaguspunk Dec 7, 2024
aca549a
Update chain to base
0xaguspunk Dec 7, 2024
fe3c5d0
Merge branch 'Phala-Network-add-tee-mode'
shakkernerd Dec 10, 2024
19869a7
chore: fix broken lockfile
shakkernerd Dec 10, 2024
ea6684e
Merge pull request #977 from ai16z/fix/pnpm-lockfile
shakkernerd Dec 10, 2024
33289ce
Merge pull request #954 from odilitime/fix-llamacloud
jkbrooks Dec 10, 2024
4c2fcf3
Merge pull request #938 from bmgalego/evaluator-callback
shakkernerd Dec 10, 2024
4f8a0d8
Merge branch 'main' into rename-intiface
odilitime Dec 10, 2024
1935ad8
rename package name
odilitime Dec 10, 2024
d8368d4
Merge branch 'rename-intiface' of https://github.com/odilitime/eliza …
odilitime Dec 10, 2024
8f3b11d
add build-docker action
odilitime Dec 10, 2024
6337fa8
use build-docker
odilitime Dec 10, 2024
e8dab54
Merge pull request #978 from odilitime/fix-docker
shakkernerd Dec 10, 2024
cbb5680
Merge pull request #955 from odilitime/rename-intiface
shakkernerd Dec 10, 2024
ca885a8
Merge pull request #953 from odilitime/fix-openrouter
shakkernerd Dec 10, 2024
95e6ae7
Merge pull request #973 from bkellgren/main
lalalune Dec 11, 2024
0bb2860
modify build-docker
v1xingyue Dec 11, 2024
55c1843
fix: remove python reference
yodamaster726 Dec 11, 2024
030fe4c
chore: update readme to show how to how to run client ui and update p…
yodamaster726 Dec 11, 2024
e2d5f28
Merge branch 'main' into chat-doc
yodamaster726 Dec 11, 2024
e83f8c9
build fix
lalalune Dec 11, 2024
f913d15
Fix build
lalalune Dec 11, 2024
fa18f5a
uhh fix linkedin lint lol
lalalune Dec 11, 2024
89b7413
updated step 3 and added code to make guide visible in docs page
ileana-pr Dec 11, 2024
7165821
Merge branch 'main' into tbh/flow-update-generateObject
btspoony Dec 11, 2024
ca49c0e
feat: make NodePlugin and GoatPlugin creation conditional
jnaulty Dec 11, 2024
7a37c49
do not activate aws s3 service in plugin-node if env vars not present
jnaulty Dec 11, 2024
25268dc
fix: a typo in characterfile.md
oxSaturn Dec 11, 2024
d7e8d9a
Merge pull request #986 from oxSaturn/fix/typo-in-characterfile
lalalune Dec 11, 2024
8a5c1a5
fix: update text
yodamaster726 Dec 11, 2024
649946c
Fix search for TwitterSearchClient
dontAskVI Dec 11, 2024
10d6e43
Remove .getInstance() from serach.ts
dontAskVI Dec 11, 2024
c6b00c6
Comment search function out
dontAskVI Dec 11, 2024
a4bc511
Add image model for Galadriel model provider
dontAskVI Dec 11, 2024
8f1ce72
Merge pull request #985 from jnaulty/jnaulty/run-without-alchemy-and-…
odilitime Dec 11, 2024
33ea571
Merge branch 'main' into add-galadriel-img-gen-and-fix-search
dontAskVI Dec 11, 2024
c3f8487
Merge pull request #983 from ileana-pr/add-wsl-guide
monilpat Dec 11, 2024
2864f1c
Merge pull request #976 from yodamaster726/chat-doc
odilitime Dec 11, 2024
197a119
Merge pull request #929 from btspoony/tbh/flow-update-generateObject
odilitime Dec 11, 2024
a882883
Merge pull request #889 from v1xingyue/v1xingyue-patch-1
odilitime Dec 11, 2024
3afd61c
Merge pull request #926 from dylan1951/add-nano-gpt-provider
odilitime Dec 11, 2024
980989e
Add Galadriel comment to ModelProviderName.md
dontAskVI Dec 11, 2024
3aa0c98
Clean up before PR
dontAskVI Dec 11, 2024
95a7b37
merge
dontAskVI Dec 11, 2024
bafb09d
Add pnpm-locl.yaml
dontAskVI Dec 11, 2024
b2d5dec
Add files via upload
GottliebFreudenreich Dec 11, 2024
7812563
Merge pull request #994 from dontAskVI/add-galadriel-img-gen-and-fix-…
odilitime Dec 11, 2024
021205e
Merge pull request #995 from GottliebFreudenreich/main
monilpat Dec 11, 2024
71106fc
test: adding parsing tests. changed files parsing.test.ts
ai16z-demirix Dec 11, 2024
d0c6c55
Merge pull request #996 from ai16z-demirix/main
monilpat Dec 11, 2024
8b5175b
feat: allow users to configure models for openai and anthropic
oxSaturn Dec 12, 2024
c2d5c64
Fix typo: initialize
cryptofish7 Dec 12, 2024
36f832d
Merge pull request #999 from oxSaturn/feat/configure-models-openai-an…
monilpat Dec 12, 2024
9d1a131
Merge pull request #1000 from cryptofish7/fix-typo-initializeCache
monilpat Dec 12, 2024
0522ad4
add callback to processActions in farcaster client
sin-bufan Dec 12, 2024
ec00fa8
Merge pull request #1002 from sin-bufan/feat-farcaster-client-action-…
shakkernerd Dec 12, 2024
1c9a5a1
no more merging to main
twilwa Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ DISCORD_VOICE_CHANNEL_ID= # The ID of the voice channel the bot should join (opt

# 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=
Expand All @@ -18,8 +23,14 @@ 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
Expand Down Expand Up @@ -91,11 +102,20 @@ 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
Expand Down Expand Up @@ -188,7 +208,12 @@ ZEROG_PRIVATE_KEY=
ZEROG_FLOW_ADDRESS=

# TEE Configuration
DSTACK_SIMULATOR_ENDPOINT=
# 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
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#
name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
release:
types: [created]
workflow_dispatch:

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
build-and-push-image:
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
#
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

18 changes: 18 additions & 0 deletions .github/workflows/require-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check pull request source branch
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
- edited
jobs:
check-branches:
runs-on: ubuntu-latest
steps:
- name: Check branches
run: |
if [ ${{ github.head_ref }} != "develop" ] && [ ${{ github.base_ref }} == "main" ]; then
echo "Merge requests to main branch are only allowed from dev branch."
exit 1
fi
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY characters ./characters

# Install dependencies and build the project
RUN pnpm install \
&& pnpm build \
&& pnpm build-docker \
&& pnpm prune --prod

# Create a new stage for the final image
Expand Down
Loading
Loading