Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Remove redundant xAI list_models_for_api override

LearningCircuit01d8f344360c
diff --git a/src/local_deep_research/llm/providers/implementations/xai.py b/src/local_deep_research/llm/providers/implementations/xai.py
index 848e381b2e..f9bb3eb775 100644
--- a/src/local_deep_research/llm/providers/implementations/xai.py
+++ b/src/local_deep_research/llm/providers/implementations/xai.py
@@ -30,21 +30,6 @@ class XAIProvider(OpenAICompatibleProvider):
"""xAI requires authentication for listing models."""
return True
- @classmethod
- def list_models_for_api(
- cls, api_key=None, base_url=None, settings_snapshot=None
- ):
- """List available models for xAI.
-
- xAI requires authentication for the /models endpoint.
- """
- if not api_key or api_key.strip() == "":
- logger.debug("xAI requires API key for listing models")
- return []
-
- # Use the parent class implementation which handles the OpenAI-compatible endpoint
- return super().list_models_for_api(api_key, base_url, settings_snapshot)
-
# Keep the standalone functions for backward compatibility and registration
def create_xai_llm(model_name=None, temperature=0.7, **kwargs):