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

chore: dev => main 0.1.9 #2361

Merged
merged 1,511 commits into from
Feb 1, 2025
Merged
Changes from 1 commit
Commits
Show all changes
1511 commits
Select commit Hold shift + click to select a range
abd0e18
plugin-autonome: actions tests
ai16z-demirix Jan 29, 2025
5ad7bea
plugin-autonome: actions tests - package json
ai16z-demirix Jan 29, 2025
b9a1af6
Merge pull request #2912 from madschristensen99/main
odilitime Jan 29, 2025
8764e38
re-enable wtfsayonara's patch
odilitime Jan 29, 2025
617ba6a
Merge branch 'develop' into tests/plugin-autonome
ai16z-demirix Jan 29, 2025
50ff542
re-enable wtfsayonara's patch (#2993)
odilitime Jan 29, 2025
1be7c48
Merge branch 'develop' into tests/plugin-autonome
ai16z-demirix Jan 29, 2025
abd0688
audit bump
odilitime Jan 29, 2025
f405c82
chore: lockfile audit (#2994)
odilitime Jan 29, 2025
8be5d5c
Merge branch 'develop' into tests/plugin-autonome
ai16z-demirix Jan 29, 2025
07532e4
plugin-avail: package json scripts
ai16z-demirix Jan 29, 2025
c5e3aeb
plugin-avail: vitest config
ai16z-demirix Jan 29, 2025
0f381a3
plugin-avail: submit data tests
ai16z-demirix Jan 29, 2025
00b57ee
plugin-avail: transfer tests
ai16z-demirix Jan 29, 2025
e6eb34b
Merge branch 'develop' into tests/plugin-avail
ai16z-demirix Jan 29, 2025
36cf7b8
plugin-avalanche: package json
ai16z-demirix Jan 29, 2025
aa67748
plugin-avalanche: vitest config
ai16z-demirix Jan 29, 2025
6299a20
plugin-avalanche: token mil create tests
ai16z-demirix Jan 29, 2025
ec6801d
Merge branch 'develop' into patch-1
shakkernerd Jan 29, 2025
af89e5b
fix: start script link
shakkernerd Jan 29, 2025
9d7d945
Merge pull request #2964 from YohanGH/patch-1
shakkernerd Jan 29, 2025
7a4d35f
Merge branch 'develop' into tests/plugin-avalanche
shakkernerd Jan 29, 2025
81fc52a
Merge pull request #2999 from ai16z-demirix/tests/plugin-avalanche
shakkernerd Jan 29, 2025
61a0881
Merge branch 'develop' into tests/plugin-avail
shakkernerd Jan 29, 2025
38e28e5
Merge pull request #2997 from ai16z-demirix/tests/plugin-avail
shakkernerd Jan 29, 2025
d0c0451
Merge branch 'develop' into tests/plugin-autonome
shakkernerd Jan 29, 2025
4bef428
Merge pull request #2992 from ai16z-demirix/tests/plugin-autonome
shakkernerd Jan 29, 2025
84cc760
fix OpenAI embedding issue
ileana-pr Jan 29, 2025
06e668d
Merge pull request #3003 from ileana-pr/develop
shakkernerd Jan 29, 2025
6a849bf
chore(packages/clients): include section links
guspan-tanadi Jan 30, 2025
151e9f9
Merge branch 'develop' of https://github.com/elizaos/eliza into odi-fix
odilitime Jan 30, 2025
1870e01
Ensure the connection between user and room before creating a memory,…
maxime Jan 30, 2025
172f5d1
Merge branch 'develop' into bug/client-slack-and-postgres
maxime Jan 30, 2025
47d5151
don't start services twice, improving logging with which agent
odilitime Jan 30, 2025
0cd21e1
bump lock
odilitime Jan 30, 2025
b054eff
add normalizwed function
tcm390 Jan 30, 2025
46769ee
remove unnecessary regex
tcm390 Jan 30, 2025
d003989
revert
tcm390 Jan 30, 2025
5b61d80
Merge pull request #3007 from elizaOS/odi-fix
odilitime Jan 30, 2025
15eb79f
Fixed all the errors and the reassign of state
AIFlowML Jan 30, 2025
5bc791d
Merge branch 'develop' into fix-plugin-hyperliquid
AIFlowML Jan 30, 2025
6eea839
use Aggregator swap sui tokens
v1xingyue Jan 30, 2025
0b431d1
null check
tcm390 Jan 30, 2025
c9adffd
Fixed all the typing errors, all the logical error, refactored the ac…
AIFlowML Jan 30, 2025
9588eec
Merge branch 'develop' into fix-plugin-holdstation
AIFlowML Jan 30, 2025
a2e58fd
Merge branch 'develop' into tcm-normalize-json-string
wtfsayo Jan 30, 2025
749778a
Merge branch 'tcm-normalize-json-string' into tcm-transcribe-null-check
tcm390 Jan 30, 2025
e1ee816
Merge pull request #3014 from elizaOS/tcm-transcribe-null-check
tcm390 Jan 30, 2025
13e1cd5
Merge pull request #3008 from elizaOS/tcm-normalize-json-string
tcm390 Jan 30, 2025
bc8c73b
Merge branch 'develop' into bug/client-slack-and-postgres
tcm390 Jan 30, 2025
4f542f9
fixex all the types error and the blocking error in the GoPlusManage
AIFlowML Jan 30, 2025
175a281
Merge branch 'develop' into fix-plugin-goplus
AIFlowML Jan 30, 2025
727f58b
Change handleAnthropic default to auto
superjessecha Jan 30, 2025
47fd3b9
Fixed the errors and added biome
AIFlowML Jan 30, 2025
8313a9f
Merge branch 'develop' into fix-plugin-goat
AIFlowML Jan 30, 2025
a3267f3
Fixed all the errors and added Biome
AIFlowML Jan 30, 2025
fe065bf
Merge branch 'develop' into fix-plugin-gitcoin-passport
AIFlowML Jan 30, 2025
03ec43d
Very strange plug action free, added biome
AIFlowML Jan 30, 2025
b2d2991
Merge branch 'develop' into fix-plugin-gitbook
AIFlowML Jan 30, 2025
d03d1bd
Handle explicit json mode passed case
superjessecha Jan 30, 2025
08c8840
Fixed all the error and aded Biome
AIFlowML Jan 30, 2025
f15e8d8
Merge branch 'develop' into fir-plugin-giphy
AIFlowML Jan 30, 2025
3b6a84c
Fixed all the types possible and added biome
AIFlowML Jan 30, 2025
88758fe
Merge branch 'develop' into fix-plugin-genlayer
AIFlowML Jan 30, 2025
9a9a781
rename environment file in mvx plugin
PhyByte Jan 30, 2025
83c2d57
fixed amosrt all errors but in the action that is packed with any, ne…
AIFlowML Jan 30, 2025
5a3177b
Merge branch 'develop' into fix-plugin-gelato
AIFlowML Jan 30, 2025
d48071d
Fixed 2 small error and added biome
AIFlowML Jan 30, 2025
382627a
Merge branch 'develop' into fix-plugin-hyperliquid
tcm390 Jan 30, 2025
a6f1f9a
Merge branch 'develop' into fix-plugin-fuel
AIFlowML Jan 30, 2025
718f9e9
Merge pull request #3011 from AIFlowML/fix-plugin-hyperliquid
tcm390 Jan 30, 2025
598abbe
Merge branch 'develop' into fix-plugin-holdstation
tcm390 Jan 30, 2025
b3a15f1
Merge pull request #3015 from AIFlowML/fix-plugin-holdstation
tcm390 Jan 30, 2025
641e83d
Merge branch 'develop' into fix-plugin-goplus
tcm390 Jan 30, 2025
37c812c
Merge pull request #3016 from AIFlowML/fix-plugin-goplus
tcm390 Jan 30, 2025
f29cdda
Merge branch 'develop' into fix-plugin-goat
tcm390 Jan 30, 2025
4b9510d
chore(lint-BIOME): Improving errors and warnings (#2990)
0xSero Jan 30, 2025
22b6a7c
Merge branch 'develop' into bug/client-slack-and-postgres
wtfsayo Jan 30, 2025
2daf903
Merge branch 'develop' into fix-plugin-fuel
wtfsayo Jan 30, 2025
e947dd4
Merge branch 'develop' into fix-plugin-gelato
wtfsayo Jan 30, 2025
bdf9581
Merge pull request #3006 from maxime/bug/client-slack-and-postgres
tcm390 Jan 30, 2025
6e54b23
Fixed all the isues
AIFlowML Jan 30, 2025
fbbb416
Merge branch 'develop' into fix-plugin-form
AIFlowML Jan 30, 2025
ef4cd99
Fixed all issues and added biome
AIFlowML Jan 30, 2025
3f6eb7b
Merge branch 'develop' into fit-plugin-football
AIFlowML Jan 30, 2025
aac331d
fixed all the issues
AIFlowML Jan 30, 2025
733f6da
Merge branch 'develop' into fix-plugin-flow
AIFlowML Jan 30, 2025
3980907
Merge branch 'develop' into fix/handle-anthropic-json-generation
tcm390 Jan 30, 2025
08596c7
Merge pull request #3018 from Jesscha/fix/handle-anthropic-json-gener…
tcm390 Jan 30, 2025
ad69921
Fixed all the outdated imports and the process. Fixed types and added…
AIFlowML Jan 30, 2025
90732d1
Merge branch 'develop' into fix-plugin-evm
AIFlowML Jan 30, 2025
72bbfd4
Fixed all the issues and added Biome
AIFlowML Jan 30, 2025
51f56a0
Merge branch 'develop' into fix-plugin-ethstorage
AIFlowML Jan 30, 2025
82f5eec
Update chat_2024-12-02.md
sky-coderay Jan 30, 2025
d3d09dd
Update chat_2024-12-03.md
sky-coderay Jan 30, 2025
e454222
Merge pull request #3041 from sky-coderay/develop
tcm390 Jan 30, 2025
176387e
Merge branch 'develop' into fix-plugin-ethstorage
shakkernerd Jan 30, 2025
d51579f
Merge pull request #3039 from AIFlowML/fix-plugin-ethstorage
shakkernerd Jan 30, 2025
09869f2
Merge branch 'develop' into fix-plugin-evm
shakkernerd Jan 30, 2025
d89a93a
Merge pull request #3038 from AIFlowML/fix-plugin-evm
shakkernerd Jan 30, 2025
f12bef6
Merge branch 'develop' into fix-plugin-flow
shakkernerd Jan 30, 2025
5e86bce
Merge pull request #3036 from AIFlowML/fix-plugin-flow
shakkernerd Jan 30, 2025
0d8fc94
Merge branch 'develop' into fit-plugin-football
shakkernerd Jan 30, 2025
6d53d19
Merge pull request #3035 from AIFlowML/fit-plugin-football
shakkernerd Jan 30, 2025
60a1485
Merge branch 'develop' into fix-plugin-form
shakkernerd Jan 30, 2025
4bc5db4
Merge pull request #3033 from AIFlowML/fix-plugin-form
shakkernerd Jan 30, 2025
affd7c2
Merge branch 'develop' into fix-plugin-fuel
shakkernerd Jan 30, 2025
daad6ec
Merge pull request #3028 from AIFlowML/fix-plugin-fuel
shakkernerd Jan 30, 2025
4eb083a
Merge branch 'develop' into fix-plugin-gelato
shakkernerd Jan 30, 2025
fda3b3a
Merge pull request #3027 from AIFlowML/fix-plugin-gelato
shakkernerd Jan 30, 2025
d49ae7f
Merge branch 'develop' into fix-plugin-genlayer
shakkernerd Jan 30, 2025
d293620
Merge pull request #3025 from AIFlowML/fix-plugin-genlayer
shakkernerd Jan 30, 2025
1953e31
Merge branch 'develop' into fir-plugin-giphy
shakkernerd Jan 30, 2025
dfea323
Merge pull request #3024 from AIFlowML/fir-plugin-giphy
shakkernerd Jan 30, 2025
c7c93f0
Merge branch 'develop' into fix-plugin-goat
shakkernerd Jan 30, 2025
bbe51fb
Merge pull request #3019 from AIFlowML/fix-plugin-goat
shakkernerd Jan 30, 2025
02e1b5f
Merge branch 'develop' into fix-plugin-gitcoin-passport
shakkernerd Jan 30, 2025
34c0b23
Merge pull request #3022 from AIFlowML/fix-plugin-gitcoin-passport
shakkernerd Jan 30, 2025
662c27a
Merge branch 'develop' into fix-plugin-gitbook
shakkernerd Jan 30, 2025
e0b4688
Merge pull request #3023 from AIFlowML/fix-plugin-gitbook
shakkernerd Jan 30, 2025
fbf9501
feat: add Fleek Eliza deployment to Readme_CN (#3048)
tobySolutions Jan 30, 2025
ed35db2
correct auto post condition
tcm390 Jan 30, 2025
94444fa
use room id for memory
tcm390 Jan 30, 2025
6e9369d
Merge branch 'develop' into tcm-telegram-duplicated-id
tcm390 Jan 30, 2025
9bccada
correct regex
tcm390 Jan 30, 2025
d2b0639
Merge pull request #3054 from elizaOS/tcm-correct-regex
tcm390 Jan 30, 2025
3180f05
Merge branch 'develop' into tcm-telegram-duplicated-id
shakkernerd Jan 30, 2025
7d6951a
Merge pull request #3053 from elizaOS/tcm-telegram-duplicated-id
tcm390 Jan 30, 2025
264ce5e
add imageVisionModelProvider
tcm390 Jan 30, 2025
dd44598
Merge branch 'develop' into tcm-imageVisionModelProvider
tcm390 Jan 30, 2025
b0b6667
Merge pull request #3056 from elizaOS/tcm-imageVisionModelProvider
tcm390 Jan 30, 2025
54d2502
handle unspport image provider
tcm390 Jan 30, 2025
a2529c5
Merge pull request #3057 from elizaOS/tcm-image-model-handling
tcm390 Jan 30, 2025
58adba4
Merge pull request #3012 from v1xingyue/plugin-sui-swap
odilitime Jan 30, 2025
786b8e4
docs: minor formatting for consistency
YoungPhlo Jan 30, 2025
592f3f5
Merge branch 'develop' into docs/community-streams
YoungPhlo Jan 30, 2025
9626edf
docs: minor formatting for consistency
YoungPhlo Jan 30, 2025
46062f0
plugin-bootstrap: package json
ai16z-demirix Jan 30, 2025
b407f92
plugin-bootstrap: vitest config
ai16z-demirix Jan 30, 2025
3450d1f
plugin-bootstrap: continue tests
ai16z-demirix Jan 30, 2025
df5590b
plugin-bootstrap: fact tests
ai16z-demirix Jan 30, 2025
3277af4
fixed all the issues but the file types.ts
AIFlowML Jan 30, 2025
19bce81
plugin-bootstrap: goal tests
ai16z-demirix Jan 30, 2025
d53e10a
Merge branch 'develop' into fix-plugin-di
odilitime Jan 30, 2025
0bcd6d9
Fixed all the issues
AIFlowML Jan 30, 2025
f4390eb
Merge branch 'develop' into fix-plugin-dexscreener
AIFlowML Jan 30, 2025
7aaeb00
plugin-chainbase: package json
ai16z-demirix Jan 30, 2025
989344b
plugin-chainbase: vitest config
ai16z-demirix Jan 30, 2025
dad22af
plugin-chainbase: query data tests
ai16z-demirix Jan 30, 2025
30a3d9c
plugin-chainbase: retrieve token balance tests
ai16z-demirix Jan 30, 2025
20a0f10
plugin-chainbase: libs/chainbase tests
ai16z-demirix Jan 30, 2025
67b1e8e
Fixed all the issues
AIFlowML Jan 30, 2025
6904e4f
Merge branch 'develop' into fix-plugin-devin
AIFlowML Jan 30, 2025
3d7add8
Revert "plugin-bootstrap: goal tests"
ai16z-demirix Jan 30, 2025
ae39130
Revert "plugin-bootstrap: continue tests"
ai16z-demirix Jan 30, 2025
8a230ae
Revert "plugin-bootstrap: fact tests"
ai16z-demirix Jan 30, 2025
ebe7609
Revert "plugin-bootstrap: package json"
ai16z-demirix Jan 30, 2025
bb4fa8b
Revert "plugin-bootstrap: vitest config"
ai16z-demirix Jan 30, 2025
29d1d7c
Fixed all the issues
AIFlowML Jan 30, 2025
afd7be7
Merge branch 'develop' into fix-plugin-dcap
AIFlowML Jan 30, 2025
f178563
Merge pull request #3070 from AIFlowML/fix-plugin-devin
odilitime Jan 30, 2025
603d5fe
Fixed all issues
AIFlowML Jan 30, 2025
d184ac2
add arabic translation
Jan 30, 2025
25658a6
Merge branch 'develop' into fix-plugin-cronoszkevm
AIFlowML Jan 30, 2025
bff60f3
Fixed almost all issues bt could not taouch the types.ts
AIFlowML Jan 31, 2025
555051c
Add Arabic translation to README language links
Jan 31, 2025
2515792
Merge branch 'develop' into fix-plugin-dexscreener
AIFlowML Jan 31, 2025
0081fa5
Fixed all the issues but 1 any
AIFlowML Jan 31, 2025
48b03f1
Merge branch 'develop' into fix-plugin-binance
AIFlowML Jan 31, 2025
9f16d16
Merge pull request #3089 from AIFlowML/fix-plugin-binance
odilitime Jan 31, 2025
281ad1e
fix: plugin-birdeye (#3088)
AIFlowML Jan 31, 2025
67a090e
Fixed almost all the issues (#3087)
AIFlowML Jan 31, 2025
bf20d1e
fix: plugin-Chainbase lint (#3085)
AIFlowML Jan 31, 2025
11f3e37
fix: plugin-coingecko lint (#3084)
AIFlowML Jan 31, 2025
b5f22bf
fix: plugin-coinmarketcap lint (#3082)
AIFlowML Jan 31, 2025
180fc6c
Fixed almost all issues bt could not taouch the types.ts (#3080)
AIFlowML Jan 31, 2025
0a00b32
Fixed all issues but a file (#3077)
AIFlowML Jan 31, 2025
82c2383
Fixed all the issues (#3076)
AIFlowML Jan 31, 2025
da9b8a3
Fixed almost all the issues (#3086)
AIFlowML Jan 31, 2025
0395976
Merge pull request #3026 from PhyByte/develop
odilitime Jan 31, 2025
9a0932c
Merge branch 'develop' into develop
odilitime Jan 31, 2025
9f57259
Merge pull request #3081 from EmanHerawy/develop
odilitime Jan 31, 2025
97704e3
Merge pull request #3075 from AIFlowML/fix-plugin-cronoszkevm
odilitime Jan 31, 2025
95fbeda
Merge pull request #3074 from AIFlowML/fix-plugin-dcap
odilitime Jan 31, 2025
9070624
Fixed all issues, i have an shadow error on packages/plugin-b2/src/pr…
AIFlowML Jan 31, 2025
171ebb0
Fixed all the issues (#3073)
AIFlowML Jan 31, 2025
485ca3f
Merge branch 'develop' into fix-plugin-dexscreener
odilitime Jan 31, 2025
448c758
Merge pull request #3069 from AIFlowML/fix-plugin-dexscreener
odilitime Jan 31, 2025
7172794
fix: the erroneous corrections caused by biome. (#3052)
btspoony Jan 31, 2025
645d9b2
Merge branch 'develop' into fix-plugin-di
odilitime Jan 31, 2025
0fccffb
Merge pull request #3066 from AIFlowML/fix-plugin-di
odilitime Jan 31, 2025
3aa73fc
Fixed all the issues (#3092)
AIFlowML Jan 31, 2025
85046c5
Fixed all the errors (#3063)
AIFlowML Jan 31, 2025
21dcc5a
Fixed all the issues (#3065)
AIFlowML Jan 31, 2025
40499e6
Fixed all typings and wrong variables (#3061)
AIFlowML Jan 31, 2025
00cd249
feat: 3049 add demo api access coingecko (#3050)
MichaelDeng03 Jan 31, 2025
1012d23
Fixed all the issues and added biome (#3044)
AIFlowML Jan 31, 2025
335c5b8
fix: plugin-avail (#3094)
AIFlowML Jan 31, 2025
681e38d
Merge pull request #3005 from guspan-tanadi/adapterslinks
odilitime Jan 31, 2025
fe20026
fix: fixed a type issue due to which build was failing
samarth30 Jan 31, 2025
4acefb5
fix: add biome configuration and fix linting issues in plugin-autonome
AIFlowML Jan 31, 2025
32cb314
Merge pull request #3097 from elizaOS/fix/plugin-email-automation
tcm390 Jan 31, 2025
fef9478
Merge branch 'develop' into docs/community-streams
YoungPhlo Jan 31, 2025
c97d7f1
chore(packages/clients): include section links
guspan-tanadi Jan 30, 2025
eb45739
fix: fixed a type issue due to which build was failing
samarth30 Jan 31, 2025
e4c150c
Great code i just added the Biome
AIFlowML Jan 31, 2025
c2ffa03
docs: Add "What Did You Get Done This Week? 11" notes
YoungPhlo Jan 31, 2025
46723be
Fixed all the issues this is the commit to keep for arthers
AIFlowML Jan 31, 2025
ddbbdd0
Fixed all the issues in Aptos and aded Biome
AIFlowML Jan 31, 2025
3bd6b5c
Merge branch 'develop' into fix-plugin-asterai-clean
AIFlowML Jan 31, 2025
8a77f91
Fixed the initial error in wallet and multiple other typings. I left …
AIFlowML Jan 31, 2025
4477481
Merge branch 'develop' into fix-plugin-asterai-clean
tcm390 Jan 31, 2025
8fa1da8
Merge pull request #3101 from AIFlowML/fix-plugin-asterai-clean
tcm390 Jan 31, 2025
761d070
Merge branch 'develop' into fix-plugin-autonome-clean
tcm390 Jan 31, 2025
7b864f4
Merge pull request #3098 from AIFlowML/fix-plugin-autonome-clean
tcm390 Jan 31, 2025
d271ab5
Merge branch 'develop' into fix-plugin-arthera-biome-clean
tcm390 Jan 31, 2025
a4bccf5
Merge pull request #3102 from AIFlowML/fix-plugin-arthera-biome-clean
tcm390 Jan 31, 2025
fb52f3a
Merge branch 'develop' into fix-plugin-aptos
tcm390 Jan 31, 2025
f9a667c
Merge pull request #3104 from AIFlowML/fix-plugin-aptos
tcm390 Jan 31, 2025
a79b661
Merge branch 'develop' into docs/community-streams
tcm390 Jan 31, 2025
ffe148b
Merge pull request #3103 from YoungPhlo/docs/community-streams
tcm390 Jan 31, 2025
b57164d
Investigated and added the peoper ether to the configuration it was m…
AIFlowML Jan 31, 2025
04eef00
Merge branch 'develop' into fix-plugin-apro
AIFlowML Jan 31, 2025
9fc2c2c
Update Dockerfile
jonathangus Jan 31, 2025
029630d
fix: fixing the error parsing json when an array is a value in a JSON…
maxime Jan 31, 2025
3679998
Merge branch 'develop' into bug/json_parsing_of_arrays_as_value
maxime Jan 31, 2025
2365161
fix scroll to bottom
tcm390 Jan 31, 2025
ac1cc5d
Merge branch 'develop' into tests/plugin-chainbase
ai16z-demirix Jan 31, 2025
96ab0fd
Update package.json
ai16z-demirix Jan 31, 2025
929454b
Merge pull request #3113 from maxime/bug/json_parsing_of_arrays_as_value
tcm390 Jan 31, 2025
8e77270
Merge branch 'develop' into tcm-fix-client-scroll
tcm390 Jan 31, 2025
02603a5
updated gitignore + removed build files (#3117)
wtfsayo Jan 31, 2025
99183aa
Merge branch 'develop' into tests/plugin-chainbase
ai16z-demirix Jan 31, 2025
55796e5
Merge branch 'develop' into tcm-fix-client-scroll
shakkernerd Jan 31, 2025
aa4433c
Merge pull request #3115 from elizaOS/tcm-fix-client-scroll
tcm390 Jan 31, 2025
c597d0d
Merge branch 'develop' into fix-plugin-apro
shakkernerd Jan 31, 2025
bb443d0
Merge pull request #3106 from AIFlowML/fix-plugin-apro
shakkernerd Jan 31, 2025
d228024
Merge branch 'develop' into tests/plugin-chainbase
ai16z-demirix Jan 31, 2025
c028d1b
Merge pull request #3072 from ai16z-demirix/tests/plugin-chainbase
shakkernerd Jan 31, 2025
3c81965
feat (chore): plugin bittensor test config and coverage (#3064)
ai16z-demirix Jan 31, 2025
e344805
feat (chore): plugin-bootstrap: test config and test coverage (#3068)
ai16z-demirix Jan 31, 2025
89368ee
Merge branch 'develop' into docker-fix
shakkernerd Jan 31, 2025
80a183e
Merge pull request #3110 from jonathangus/docker-fix
shakkernerd Jan 31, 2025
6f475d0
chore(plugin-chainbase): add @biomejs/biome dev dependency
akugone Jan 31, 2025
1684b21
fix: export dexScreenerPlugin
shakkernerd Jan 31, 2025
32cf6d5
Merge pull request #3120 from elizaOS/fix/plugin-dexscreener
shakkernerd Jan 31, 2025
3436beb
Merge branch 'develop' into fix/plugin-chainbase
shakkernerd Jan 31, 2025
4a1fdc8
Merge pull request #3118 from akugone/fix/plugin-chainbase
shakkernerd Jan 31, 2025
796d2d2
fix: remove duplicate litPlugin import
shakkernerd Jan 31, 2025
f418cc1
Merge pull request #3121 from elizaOS/fix/agent_duplicates
shakkernerd Jan 31, 2025
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
fixed all the typing errors. most of the actions had also a bad struc…
…tur or missing code from the action.ts (#2898)

Co-authored-by: Shakker Nerd <165377636+shakkernerd@users.noreply.github.com>
AIFlowML and shakkernerd authored Jan 28, 2025
commit 60c2f3042ddded0981f386771145d2f7a2c4f979
25 changes: 22 additions & 3 deletions packages/plugin-openai/src/actions/action.ts
Original file line number Diff line number Diff line change
@@ -39,9 +39,27 @@ export function validateApiKey(): string {
* @returns The response data.
* @throws Will throw an error for request failures or rate limits.
*/

export interface OpenAIRequestData {
model: string;
prompt: string;
max_tokens: number;
temperature: number;
[key: string]: unknown;
}

export interface OpenAIEditRequestData {
model: string;
input: string;
instruction: string;
max_tokens: number;
temperature: number;
[key: string]: unknown;
}

export async function callOpenAiApi<T>(
url: string,
data: any,
data: OpenAIRequestData | OpenAIEditRequestData,
apiKey: string,
): Promise<T> {
try {
@@ -55,7 +73,7 @@ export async function callOpenAiApi<T>(
const response = await axios.post<T>(url, data, config);
return response.data;
} catch (error) {
console.error("Error communicating with OpenAI API:", error.message);
console.error("Error communicating with OpenAI API:", error instanceof Error ? error.message : String(error));
if (axios.isAxiosError(error)) {
if (error.response?.status === 429) {
throw new Error("Rate limit exceeded. Please try again later.");
@@ -73,12 +91,13 @@ export async function callOpenAiApi<T>(
* @param temperature - The sampling temperature.
* @returns The request payload for OpenAI completions.
*/

export function buildRequestData(
prompt: string,
model: string = DEFAULT_MODEL,
maxTokens: number = DEFAULT_MAX_TOKENS,
temperature: number = DEFAULT_TEMPERATURE,
): Record<string, any> {
): OpenAIRequestData {
return {
model,
prompt,
7 changes: 4 additions & 3 deletions packages/plugin-openai/src/actions/analyzeSentimentAction.ts
Original file line number Diff line number Diff line change
@@ -9,21 +9,22 @@ import {
export const analyzeSentimentAction: Action = {
name: "analyzeSentiment",
description: "Analyze sentiment using OpenAI",
async handler(runtime, message, state) {
similes: [], // Added missing required property
async handler(_runtime, message, _state) {
const prompt = `Analyze the sentiment of the following text: "${message.content.text?.trim() || ""}"`;
validatePrompt(prompt);

const apiKey = validateApiKey();
const requestData = buildRequestData(prompt);

const response = await callOpenAiApi(
const response = await callOpenAiApi<{ choices: Array<{ text: string }> }>(
"https://api.openai.com/v1/completions",
requestData,
apiKey,
);
return response.choices[0].text.trim();
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
18 changes: 12 additions & 6 deletions packages/plugin-openai/src/actions/editTextAction.ts
Original file line number Diff line number Diff line change
@@ -3,15 +3,19 @@ import {
validatePrompt,
validateApiKey,
callOpenAiApi,
buildRequestData,
} from "./action";

interface EditResponse {
choices: Array<{ text: string }>;
}

export const editTextAction: Action = {
name: "editText",
description: "Edit text using OpenAI",
async handler(runtime, message, state) {
const input = message.content.input?.trim() || "";
const instruction = message.content.instruction?.trim() || "";
similes: [],
async handler(_runtime, message, _state) {
const input = (message.content.input as string)?.trim() || "";
const instruction = (message.content.instruction as string)?.trim() || "";
validatePrompt(input);
validatePrompt(instruction);

@@ -20,16 +24,18 @@ export const editTextAction: Action = {
model: "text-davinci-edit-001",
input,
instruction,
max_tokens: 1000,
temperature: 0.7,
};

const response = await callOpenAiApi(
const response = await callOpenAiApi<EditResponse>(
"https://api.openai.com/v1/edits",
requestData,
apiKey,
);
return response.choices[0].text.trim();
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
19 changes: 10 additions & 9 deletions packages/plugin-openai/src/actions/generateEmbeddingAction.ts
Original file line number Diff line number Diff line change
@@ -9,24 +9,25 @@ import {
export const generateEmbeddingAction: Action = {
name: "generateEmbedding",
description: "Generate embeddings using OpenAI",
async handler(runtime, message, state) {
const input = message.content.text?.trim() || "";
similes: [],
async handler(_runtime, message, _state) {
const input = (message.content.text as string)?.trim() || "";
validatePrompt(input);

const apiKey = validateApiKey();
const requestData = {
model: "text-embedding-ada-002",
input,
};
const requestData = buildRequestData(
"text-embedding-ada-002",
input
);

const response = await callOpenAiApi(
"https://api.openai.com/v1/embeddings",
requestData,
apiKey,
);
return response.data.map((item) => item.embedding);
) as { data: Array<{ embedding: number[] }> };
return response.data.map((item: { embedding: number[] }) => item.embedding);
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
15 changes: 8 additions & 7 deletions packages/plugin-openai/src/actions/generateTextAction.ts
Original file line number Diff line number Diff line change
@@ -9,26 +9,27 @@ import {
export const generateTextAction: Action = {
name: "generateText",
description: "Generate text using OpenAI",
async handler(runtime, message, state) {
const prompt = message.content.text?.trim() || "";
similes: [],
async handler(_runtime, message, _state) {
const prompt = (message.content.text as string)?.trim() || "";
validatePrompt(prompt);

const apiKey = validateApiKey();
const requestData = buildRequestData(
String(message.content.model),
prompt,
message.content.model,
message.content.maxTokens,
message.content.temperature,
typeof message.content.maxTokens === 'number' ? message.content.maxTokens : undefined,
typeof message.content.temperature === 'number' ? message.content.temperature : undefined,
);

const response = await callOpenAiApi(
"https://api.openai.com/v1/completions",
requestData,
apiKey,
);
) as { choices: Array<{ text: string }> };
return { text: response.choices[0].text.trim() };
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
17 changes: 11 additions & 6 deletions packages/plugin-openai/src/actions/moderateContentAction.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
import type { Action } from "@elizaos/core";
import { validatePrompt, validateApiKey, callOpenAiApi } from "./action";
import { validatePrompt, validateApiKey, callOpenAiApi, buildRequestData } from "./action";

export const moderateContentAction: Action = {
name: "moderateContent",
description: "Moderate content using OpenAI",
async handler(runtime, message, state) {
const input = message.content.text?.trim() || "";
similes: [],
async handler(_runtime, message, _state) {
const input = (message.content.text as string)?.trim() || "";
validatePrompt(input);

const apiKey = validateApiKey();
const requestData = { input };
const requestData = buildRequestData(
"text-moderation-latest",
input
);

const response = await callOpenAiApi(
"https://api.openai.com/v1/moderations",
requestData,
apiKey,
);
) as { results: Array<{ flagged: boolean; categories: Record<string, boolean>; category_scores: Record<string, number> }> };
return response.results;
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
};

22 changes: 16 additions & 6 deletions packages/plugin-openai/src/actions/transcribeAudioAction.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
import type { Action } from "@elizaos/core";
import { validateApiKey, callOpenAiApi } from "./action";
import {
validateApiKey,
callOpenAiApi,
buildRequestData,
type OpenAIRequestData
} from "./action";

export const transcribeAudioAction: Action = {
name: "transcribeAudio",
description: "Transcribe audio using OpenAI Whisper",
async handler(runtime, message, state) {
similes: [],
async handler(_runtime, message, _state) {
const file = message.content.file;
if (!file) {
throw new Error("No audio file provided");
}

const apiKey = validateApiKey();
const formData = new FormData();
formData.append("file", file);
formData.append("file", file as Blob);
formData.append("model", "whisper-1");

interface TranscriptionResponse {
text: string;
}

const response = await callOpenAiApi(
"https://api.openai.com/v1/audio/transcriptions",
formData,
formData as unknown as OpenAIRequestData,
apiKey,
);
) as TranscriptionResponse;
return response.text;
},
validate: async (runtime, message) => {
validate: async (runtime, _message) => {
return !!runtime.getSetting("OPENAI_API_KEY");
},
examples: [],
14 changes: 12 additions & 2 deletions packages/plugin-openai/src/types.ts
Original file line number Diff line number Diff line change
@@ -14,7 +14,12 @@ export interface OpenAITextResponse {
choices: Array<{
text: string;
index: number;
logprobs: null | any;
logprobs: null | {
tokens: string[];
token_logprobs: number[];
top_logprobs: Record<string, number>[];
text_offset: number[];
};
finish_reason: string;
}>;
usage: {
@@ -59,7 +64,12 @@ export interface OpenAISentimentAnalysisResponse {
choices: Array<{
text: string;
index: number;
logprobs: null | any;
logprobs: null | {
tokens: string[];
token_logprobs: number[];
top_logprobs: Record<string, number>[];
text_offset: number[];
};
finish_reason: string;
}>;
}
Loading