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(reduce-providers): Generic Model Loading (OpenAI compatible endpoints) #3114

Merged
merged 76 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
cb9bf72
Update .env.example
wtfsayo Jan 31, 2025
d53dc24
cleanup
wtfsayo Jan 31, 2025
3a6a241
lint issue + re-add eliza character
wtfsayo Jan 31, 2025
5119f76
Update generation.ts
wtfsayo Jan 31, 2025
868f45e
partial save
wtfsayo Jan 31, 2025
c5c1fdd
add generic model `ModelProvider`
wtfsayo Jan 31, 2025
76a9716
Update types.ts
wtfsayo Jan 31, 2025
825fce3
Update types.ts
wtfsayo Jan 31, 2025
681d18a
Update runtime.ts
wtfsayo Jan 31, 2025
a897109
Merge remote-tracking branch 'origin/develop' into v1.51
wtfsayo Feb 2, 2025
6c3fdc4
single env to fetch provider key!
wtfsayo Feb 2, 2025
ad0ae54
further progress
wtfsayo Feb 2, 2025
266aa44
remove dependence on `ModelProviderName`
wtfsayo Feb 2, 2025
2340c37
some biome lint fixes
wtfsayo Feb 2, 2025
fd98883
WIP: minify/ generalise embedding logic
wtfsayo Feb 2, 2025
b175505
remove model.ts
wtfsayo Feb 2, 2025
f76eb9d
more cleanup
wtfsayo Feb 2, 2025
dd4f782
more cleanup!
wtfsayo Feb 2, 2025
2309425
Update generation.ts
wtfsayo Feb 2, 2025
4a7bf56
newere generate object + generate bool
wtfsayo Feb 2, 2025
7a56f2f
[WIP] simplify image generation
wtfsayo Feb 2, 2025
1295371
more cleanup!
wtfsayo Feb 2, 2025
4085b88
more clean up!
wtfsayo Feb 2, 2025
c211695
better organisation!
wtfsayo Feb 3, 2025
265e8d8
wip: save
wtfsayo Feb 3, 2025
0725b41
Merge remote-tracking branch 'origin/develop' into v1.51
wtfsayo Feb 3, 2025
bdc5093
fix build
wtfsayo Feb 3, 2025
ae14092
save progress;
wtfsayo Feb 3, 2025
2d91408
update type infer
wtfsayo Feb 3, 2025
82bd707
push fixes for bnb plugin
wtfsayo Feb 3, 2025
4e514f5
Merge remote-tracking branch 'origin/develop' into v1.51
wtfsayo Feb 3, 2025
4f0c81f
finish build compatibility
wtfsayo Feb 3, 2025
4a66a29
allow diff setting for all model class
wtfsayo Feb 4, 2025
9816c94
update goatPlugin similar to others
wtfsayo Feb 4, 2025
5ea72a0
fix zilliqa plugin
wtfsayo Feb 4, 2025
81f6e8c
update .env.example
wtfsayo Feb 4, 2025
ea315d1
wip: save
wtfsayo Feb 4, 2025
49ce19a
Update runtime.ts
wtfsayo Feb 5, 2025
fc8e3d4
fix env name mismatch
wtfsayo Feb 5, 2025
e57eb95
refactor runtime
wtfsayo Feb 5, 2025
a40b7fd
biome fixes
wtfsayo Feb 5, 2025
8499d96
wip: save
wtfsayo Feb 6, 2025
2b230c2
minor change
wtfsayo Feb 6, 2025
7db2a10
better runtime logging + refactor + new env norms
wtfsayo Feb 6, 2025
c69a105
success!!! with direct message!
wtfsayo Feb 6, 2025
71cadbf
Update generation.ts
wtfsayo Feb 6, 2025
b39d2aa
newer tests
wtfsayo Feb 6, 2025
ab00b65
update; test enum stuff
wtfsayo Feb 7, 2025
2c8fb7f
test more generateSHouldRespond
wtfsayo Feb 7, 2025
d34e748
fix response
wtfsayo Feb 7, 2025
5872f33
remove unncessary env validation; DRY Stuff
wtfsayo Feb 7, 2025
41ddcb9
Merge remote-tracking branch 'origin/develop' into v1.51
wtfsayo Feb 7, 2025
1476e2e
build and lint fixes
wtfsayo Feb 7, 2025
4bba708
rolllll
wtfsayo Feb 7, 2025
d297079
Merge branch 'develop' into v1.51
wtfsayo Feb 7, 2025
581f144
add anthropic
tcm390 Feb 7, 2025
04e444b
Merge remote-tracking branch 'origin/develop' into v1.51
wtfsayo Feb 7, 2025
b90342a
temp: remove docs package
wtfsayo Feb 7, 2025
1c7e050
re-add docs
wtfsayo Feb 7, 2025
c6e4a93
handle anthropic provider
tcm390 Feb 7, 2025
cdfc9c0
make model provider optional
tcm390 Feb 7, 2025
e8642b2
clean code
tcm390 Feb 7, 2025
f08a1fe
remove commented out stuff
wtfsayo Feb 7, 2025
38532dc
rename
tcm390 Feb 7, 2025
21a9ad7
use include to check if anthropic function
tcm390 Feb 7, 2025
94e2f69
update provider type
tcm390 Feb 7, 2025
ef876f8
restore agent/src/index
wtfsayo Feb 7, 2025
b4aa9c4
handle image model
tcm390 Feb 7, 2025
86b4d08
Prevent image generation with unsupported providers for now
tcm390 Feb 7, 2025
885ae22
clean code
tcm390 Feb 7, 2025
c07210c
Merge branch 'v1.51' into tcm/support-anthropic
tcm390 Feb 7, 2025
6e0d4c0
Update generation.ts
wtfsayo Feb 7, 2025
2d875c3
Merge pull request #3364 from elizaOS/tcm/support-anthropic
tcm390 Feb 7, 2025
cdf1fa5
resolve merge conflict
tcm390 Feb 7, 2025
13c4d5b
Merge pull request #3367 from elizaOS/tcm/merge-conflict
tcm390 Feb 7, 2025
bac5e1c
clean code
tcm390 Feb 7, 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
1,028 changes: 58 additions & 970 deletions .env.example

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@ ton_nft_metadata/
ton_nft_metadata/*

ton_nft_images/
ton_nft_images/*
ton_nft_images/*


**/dist/**
4 changes: 2 additions & 2 deletions agent/src/defaultCharacter.ts
odilitime marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Character, ModelProviderName } from "@elizaos/core";
import { type Character, ModelProviderName } from "@elizaos/core";

export const defaultCharacter: Character = {
name: "Eliza",
username: "eliza",
plugins: [],
modelProvider: ModelProviderName.LLAMALOCAL,
modelProvider: ModelProviderName.OPENAI,
settings: {
secrets: {},
voice: {
Expand Down
Loading
Loading