fix: remove legacy variables (XAI_MODEL, XAI_API_KEY & IMAGE_GEN) #2001
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.