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: rm unused variable X_SERVER_URL #1930

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

proteanx
Copy link
Contributor

@proteanx proteanx commented Jan 7, 2025

Risks

Low

Background

What does this PR do?

Removes the unused X_SERVER_URL that appears to be a relic of legacy code.

What kind of change is this?

Improvement

Why are we doing this? Any context or related work?

I noticed this doesn't appear to be used in the code anymore. I also noticed that the XAI_API_KEY is only used for loading the Together API but it has it's own API key var now (which can be used to load the provider). Should I go ahead and remove it as well? I feel like most people think these vars are related to X/Twitter or xAI and may be confused by them.

Documentation changes needed?

A lot of the documentation does need to be updated to reflect the changes to selecting providers and models. Many may be trying to use this unworking and unused variable. I removed it from the Readme's on here in this PR though.

Discord username

@proteanx (same as on here)

@shakkernerd shakkernerd merged commit aa4b8d6 into elizaOS:develop Jan 7, 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