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

fix: remove legacy variables (XAI_MODEL, XAI_API_KEY & IMAGE_GEN) #2001

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

proteanx
Copy link
Contributor

@proteanx proteanx commented Jan 8, 2025

Relates to

This is a continuation of #1930. These variables (XAI_MODEL, XAI_API_KEY & IMAGE_GEN) are relics from legacy code that is no longer used. The only variable that was actually used is XAI_API_KEY for the Together API but it has its own api key variable so it's not actually needed at all. I also think it was creating confusion for some users thinking it was related to xAI, Grok or Twitter (also based on its location in env). I updated the docs/guides that include these variables but there are still a lot of translations that need to be updated. I did english and spanish.

Risks

No risk, only 1 line of actual code was altered (removed). The rest is all docs and the env.example file.

Background

What does this PR do?

Removes unused variables

What kind of change is this?

Fix or update

Documentation changes needed?

Much of the docs in repo are outdated. I tried to update the relevant sections.

@shakkernerd shakkernerd merged commit bb9e14e into elizaOS:develop Jan 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants