Skip to content

Commit 5b5f478

Browse files
authored
Merge branch 'develop' into add-devcontainer
2 parents 5c4f0a3 + 0e106cf commit 5b5f478

File tree

998 files changed

+29867
-37206
lines changed

Some content is hidden

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

998 files changed

+29867
-37206
lines changed

.env.example

+30-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ETERNALAI_MODEL= # Default: "neuralmagic/Meta-Llama-3.1-405B-Inst
2222
ETERNALAI_API_KEY=
2323
ETERNAL_AI_LOG_REQUEST=false #Default: false
2424

25-
GROK_API_KEY= # GROK API Key
25+
GROK_API_KEY= # GROK/xAI API Key
2626
GROQ_API_KEY= # Starts with gsk_
2727
OPENROUTER_API_KEY=
2828
GOOGLE_GENERATIVE_AI_API_KEY= # Gemini API key
@@ -37,6 +37,18 @@ SMALL_HYPERBOLIC_MODEL= # Default: meta-llama/Llama-3.2-3B-Instruct
3737
MEDIUM_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-70B-Instruct
3838
LARGE_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-405-Instruct
3939

40+
41+
# Infera Configuration
42+
43+
INFERA_API_KEY= # visit api.infera.org/docs to obtain an API key under /signup_user
44+
INFERA_MODEL= # Default: llama3.2:latest
45+
INFERA_SERVER_URL= # Default: https://api.infera.org/
46+
47+
SMALL_INFERA_MODEL= #Recommended: llama3.2:latest
48+
MEDIUM_INFERA_MODEL= #Recommended: mistral-nemo:latest
49+
LARGE_INFERA_MODEL= #Recommended: mistral-small:latest
50+
51+
4052
# Livepeer configuration
4153
LIVEPEER_GATEWAY_URL= # Free inference gateways and docs: https://livepeer-eliza.com/
4254
LIVEPEER_IMAGE_MODEL= # Default: ByteDance/SDXL-Lightning
@@ -339,6 +351,16 @@ NEAR_NETWORK=testnet # or mainnet
339351
ZKSYNC_ADDRESS=
340352
ZKSYNC_PRIVATE_KEY=
341353

354+
# Avail DA Configuration
355+
AVAIL_ADDRESS=
356+
AVAIL_SEED=
357+
AVAIL_APP_ID=0
358+
AVAIL_RPC_URL=wss://avail-turing.public.blastapi.io/ # (Default) Testnet: wss://avail-turing.public.blastapi.io/ | Mainnet: wss://avail-mainnet.public.blastapi.io/
359+
360+
# Marlin
361+
TEE_MARLIN= # Set "yes" to enable the plugin
362+
TEE_MARLIN_ATTESTATION_ENDPOINT= # Optional, default "http://127.0.0.1:1350"
363+
342364
# Ton
343365
TON_PRIVATE_KEY= # Ton Mnemonic Seed Phrase Join With Empty String
344366
TON_RPC_URL= # ton rpc
@@ -373,3 +395,10 @@ FUEL_WALLET_PRIVATE_KEY=
373395
# Tokenizer Settings
374396
TOKENIZER_MODEL= # Specify the tokenizer model to be used.
375397
TOKENIZER_TYPE= # Options: tiktoken (for OpenAI models) or auto (AutoTokenizer from Hugging Face for non-OpenAI models). Default: tiktoken.
398+
399+
# Stargaze NFT marketplace from Cosmos (You can use https://graphql.mainnet.stargaze-apis.com/graphql)
400+
STARGAZE_ENDPOINT=
401+
402+
# GenLayer
403+
GENLAYER_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000 # Private key of the GenLayer account to use for the agent
404+

.eslintrc.json

+34-45
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,36 @@
11
{
2-
"plugins": [
3-
"@stylistic"
4-
],
5-
"extends": [
6-
"next/core-web-vitals",
7-
"plugin:@stylistic/recommended-extends"
8-
],
9-
"rules": {
10-
"@stylistic/indent": [
11-
"error",
12-
4,
13-
{
14-
"SwitchCase": 1
15-
}
2+
"plugins": ["@stylistic"],
3+
"extends": [
4+
"next/core-web-vitals",
5+
"plugin:@stylistic/recommended-extends"
166
],
17-
"@stylistic/no-tabs": "error",
18-
"@stylistic/member-delimiter-style": [
19-
"error",
20-
{
21-
"multiline": {
22-
"delimiter": "semi",
23-
"requireLast": true
24-
},
25-
"singleline": {
26-
"delimiter": "semi",
27-
"requireLast": false
28-
}
29-
}
30-
],
31-
"@stylistic/eol-last": [
32-
"error",
33-
"always"
34-
],
35-
"@stylistic/multiline-ternary": "off",
36-
"@stylistic/semi": [
37-
"error",
38-
"always"
39-
],
40-
"@stylistic/quotes": "off",
41-
"@stylistic/comma-dangle": "off",
42-
"@stylistic/brace-style": [
43-
"error",
44-
"1tbs"
45-
]
46-
}
47-
}
7+
"rules": {
8+
"@stylistic/indent": [
9+
"error",
10+
4,
11+
{
12+
"SwitchCase": 1
13+
}
14+
],
15+
"@stylistic/no-tabs": "error",
16+
"@stylistic/member-delimiter-style": [
17+
"error",
18+
{
19+
"multiline": {
20+
"delimiter": "semi",
21+
"requireLast": true
22+
},
23+
"singleline": {
24+
"delimiter": "semi",
25+
"requireLast": false
26+
}
27+
}
28+
],
29+
"@stylistic/eol-last": ["error", "always"],
30+
"@stylistic/multiline-ternary": "off",
31+
"@stylistic/semi": ["error", "always"],
32+
"@stylistic/quotes": "off",
33+
"@stylistic/comma-dangle": "off",
34+
"@stylistic/brace-style": ["error", "1tbs"]
35+
}
36+
}

.github/workflows/codeql.yml

+50-50
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
name: "CodeQL Advanced"
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
8-
schedule:
9-
- cron: '29 8 * * 6'
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: "29 8 * * 6"
1010

1111
jobs:
12-
analyze:
13-
name: Analyze (${{ matrix.language }})
14-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15-
permissions:
16-
# required for all workflows
17-
security-events: write
18-
19-
# required to fetch internal or private CodeQL packs
20-
packages: read
21-
22-
# only required for workflows in private repositories
23-
actions: read
24-
contents: read
25-
26-
strategy:
27-
fail-fast: false
28-
matrix:
29-
include:
30-
- language: javascript-typescript
31-
build-mode: none
32-
steps:
33-
- name: Checkout repository
34-
uses: actions/checkout@v4
35-
36-
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v3
38-
with:
39-
languages: ${{ matrix.language }}
40-
build-mode: ${{ matrix.build-mode }}
41-
42-
- if: matrix.build-mode == 'manual'
43-
shell: bash
44-
run: |
45-
echo 'If you are using a "manual" build mode for one or more of the' \
46-
'languages you are analyzing, replace this with the commands to build' \
47-
'your code, for example:'
48-
echo ' make bootstrap'
49-
echo ' make release'
50-
exit 1
51-
52-
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v3
54-
with:
55-
category: "/language:${{matrix.language}}"
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+
permissions:
16+
# required for all workflows
17+
security-events: write
18+
19+
# required to fetch internal or private CodeQL packs
20+
packages: read
21+
22+
# only required for workflows in private repositories
23+
actions: read
24+
contents: read
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
include:
30+
- language: javascript-typescript
31+
build-mode: none
32+
steps:
33+
- name: Checkout repository
34+
uses: actions/checkout@v4
35+
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v3
38+
with:
39+
languages: ${{ matrix.language }}
40+
build-mode: ${{ matrix.build-mode }}
41+
42+
- if: matrix.build-mode == 'manual'
43+
shell: bash
44+
run: |
45+
echo 'If you are using a "manual" build mode for one or more of the' \
46+
'languages you are analyzing, replace this with the commands to build' \
47+
'your code, for example:'
48+
echo ' make bootstrap'
49+
echo ' make release'
50+
exit 1
51+
52+
- name: Perform CodeQL Analysis
53+
uses: github/codeql-action/analyze@v3
54+
with:
55+
category: "/language:${{matrix.language}}"

.github/workflows/generate-readme-translations.yml

+37-36
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
language: [
13-
{code: 'CN', name: 'Chinese'},
14-
{code: 'DE', name: 'German'},
15-
{code: 'ES', name: 'Spanish'},
16-
{code: 'FR', name: 'French'},
17-
{code: 'HE', name: 'Hebrew'},
18-
{code: 'IT', name: 'Italian'},
19-
{code: 'JA', name: 'Japanese'},
20-
{code: 'KOR', name: 'Korean'},
21-
{code: 'PTBR', name: 'Portuguese (Brazil)'},
22-
{code: 'RU', name: 'Russian'},
23-
{code: 'TH', name: 'Thai'},
24-
{code: 'TR', name: 'Turkish'},
25-
{code: 'VI', name: 'Vietnamese'}
26-
]
12+
language:
13+
[
14+
{ code: "CN", name: "Chinese" },
15+
{ code: "DE", name: "German" },
16+
{ code: "ES", name: "Spanish" },
17+
{ code: "FR", name: "French" },
18+
{ code: "HE", name: "Hebrew" },
19+
{ code: "IT", name: "Italian" },
20+
{ code: "JA", name: "Japanese" },
21+
{ code: "KOR", name: "Korean" },
22+
{ code: "PTBR", name: "Portuguese (Brazil)" },
23+
{ code: "RU", name: "Russian" },
24+
{ code: "TH", name: "Thai" },
25+
{ code: "TR", name: "Turkish" },
26+
{ code: "VI", name: "Vietnamese" },
27+
]
2728
permissions:
2829
contents: write
2930
steps:
@@ -36,32 +37,32 @@ jobs:
3637
uses: 0xjord4n/aixion@v1.2.1
3738
id: aixion
3839
with:
39-
config: >
40-
{
41-
"provider": "openai",
42-
"provider_options": {
43-
"api_key": "${{ secrets.OPENAI_API_KEY }}"
44-
},
45-
"messages": [
40+
config: >
4641
{
47-
"role": "system",
48-
"content": "You will be provided with a markdown file in English, and your task is to translate it into ${{ matrix.language.name }}."
49-
},
50-
{
51-
"role": "user",
52-
"content_path": "README.md"
42+
"provider": "openai",
43+
"provider_options": {
44+
"api_key": "${{ secrets.OPENAI_API_KEY }}"
45+
},
46+
"messages": [
47+
{
48+
"role": "system",
49+
"content": "You will be provided with a markdown file in English, and your task is to translate it into ${{ matrix.language.name }}."
50+
},
51+
{
52+
"role": "user",
53+
"content_path": "README.md"
54+
}
55+
],
56+
"save_path": "README_${{ matrix.language.code }}.md",
57+
"model": "gpt-4o"
5358
}
54-
],
55-
"save_path": "README_${{ matrix.language.code }}.md",
56-
"model": "gpt-4o"
57-
}
5859
5960
# Upload each translated file as an artifact
6061
- name: Upload translation
6162
uses: actions/upload-artifact@v4
6263
with:
63-
name: readme-${{ matrix.language.code }}
64-
path: README_${{ matrix.language.code }}.md
64+
name: readme-${{ matrix.language.code }}
65+
path: README_${{ matrix.language.code }}.md
6566

6667
commit:
6768
needs: translation
@@ -76,8 +77,8 @@ jobs:
7677
- name: Download all translations
7778
uses: actions/download-artifact@v4
7879
with:
79-
pattern: readme-*
80-
merge-multiple: true
80+
pattern: readme-*
81+
merge-multiple: true
8182

8283
- name: Commit all translations
8384
uses: stefanzweifel/git-auto-commit-action@v5

.github/workflows/greetings.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ name: Greetings
33
on: [pull_request_target, issues]
44

55
jobs:
6-
greeting:
7-
runs-on: ubuntu-latest
8-
permissions:
9-
issues: write
10-
pull-requests: write
11-
steps:
12-
- uses: actions/first-interaction@v1
13-
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
issue-message: "Hello @${{ github.actor }}! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!"
16-
pr-message: "Hi @${{ github.actor }}! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!"
17-
6+
greeting:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: actions/first-interaction@v1
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
issue-message: "Hello @${{ github.actor }}! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!"
16+
pr-message: "Hi @${{ github.actor }}! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!"

0 commit comments

Comments
 (0)