Spaces:
Runtime error
Runtime error
update api key
Browse files23 unmodified lines242526272728293023 unmodified lines def __init__(self): print("BasicAgent initialized.") model_id = os.getenv("HF_API_URL", "Qwen/Qwen2.5-7B-Instruct") token = os.getenv("HF_TOKEN") token = os.getenv("HF_TOKEN") or os.getenv("HUGGINGFACEHUB_API_TOKEN") self.llm = InferenceClient(model=model_id, token=token)
def _maybe_fetch_file(self, task_id: str):app.py+1-1