Spaces:
Sleeping
Sleeping
| """Minimal stub for HF deployment — no LLM chat, only KG Explorer.""" | |
| from pathlib import Path | |
| import json | |
| def load_environment(): | |
| return {"llm_backend": {"provider": "none", "model": "none"}} | |
| def save_environment(env): | |
| pass | |
| def build_llm_client(env): | |
| return None | |
| class AgentSession: | |
| def __init__(self): | |
| self.env = load_environment() | |
| self.history = [] | |
| self._llm = None | |
| def set_llm_client(self, client): | |
| self._llm = client | |
| def _chat(self): | |
| return "[Chat disabled in this deployment. Only KG Explorer is available.]" | |