AlekhyaC2005's picture
first commit
46fb1fc
Raw
History Blame Contribute Delete
192 Bytes
from openai import AsyncOpenAI
from app.core.config import HF_TOKEN
def get_llm():
return AsyncOpenAI(
base_url="https://router.huggingface.co/v1",
api_key=HF_TOKEN
)