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

i installed eliza standard library and tried openai, grok, google, deepseek, only openai key worked, what's wrong? #2587

Open
holiccoder opened this issue Jan 21, 2025 · 8 comments

Comments

@holiccoder
Copy link

holiccoder commented Jan 21, 2025

i don't know if i configure it correct.

GROK api
Image

GOOGLE API, somehow it directly showed the key, i don't know why.

Image

deepseek api

Image

here's the env configuration file

Image
Image
Image

in the character file, i changed model to "openai", "google", "deepseek", "grok"

there are different models there, i don't know how to call it, small, medium or large, i tried to configure them and restarted the pnpm, but none worked.

@holiccoder holiccoder added the bug Something isn't working label Jan 21, 2025
@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 22, 2025

Did you rtry adding the api key and not selecting any model?
What version did you install ?
Also can you try ue the main repo for this test ?
I got plenty of users that have zero issues and is hard to replicate this issue you find.

@AIFlowML AIFlowML added Needs Testing Need Feedback and removed bug Something isn't working labels Jan 22, 2025
@holiccoder
Copy link
Author

maybe they only use openai, from what i saw in the terminal record, the model is selected, as you can see the name of the model.
i don't know if the api key works for all versions of model like small, large or medium.

@holiccoder
Copy link
Author

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=
EMBEDDING_GOOGLE_MODEL= # Default: text-embedding-004

I'm a bit baffled because i don't know how to configure it correctly. how to put GOOGLE_MODEL=?, is it SMALL, MEDIUM OR LARGE?

@block0xhash
Copy link

block0xhash commented Jan 29, 2025

@holiccoder to use Gemini.
you only configure your key here GOOGLE_GENERATIVE_AI_API_KEY=

Image

and then in the Character file you set the ModelProvider

Image

do not update these variable

Image

its working for me

Image

I am using the main repo

Image

@block0xhash
Copy link

I can confirm only the "openai" model is working.

can you share the results of git branch

@block0xhash
Copy link

I am on 0.1.8.1 latest (@0.1.8+build.1 )

I can confirm it doesnt seem to work on 0.1.8

see my screen shot about you will have to use the main repo

@tcm390
Copy link
Collaborator

tcm390 commented Jan 31, 2025

i don't know if i configure it correct.

GROK api Image

GOOGLE API, somehow it directly showed the key, i don't know why.

Image

deepseek api

Image

here's the env configuration file

Image Image Image

in the character file, i changed model to "openai", "google", "deepseek", "grok"

there are different models there, i don't know how to call it, small, medium or large, i tried to configure them and restarted the pnpm, but none worked.

Don't add the API key in your environment model settings. LARGE_GOOGLE_MODEL should be set to something like gemini-1.5-pro-latest instead of an API key.

@block0xhash
Copy link

i don't know if i configure it correct.
GROK api Image
GOOGLE API, somehow it directly showed the key, i don't know why.
Image
deepseek api
Image
here's the env configuration file
Image Image Image
in the character file, i changed model to "openai", "google", "deepseek", "grok"
there are different models there, i don't know how to call it, small, medium or large, i tried to configure them and restarted the pnpm, but none worked.

Don't add the API key in your environment model settings. LARGE_GOOGLE_MODEL should be set to something like gemini-1.5-pro-latest instead of an API key.

for Google Gemini you only set GOOGLE_GENERATIVE_AI_API_KEY , do not set anything on the MODEL. also use the main repo. see my post here:

#2587 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants