Spaces:
Sleeping
Sleeping
File size: 283 Bytes
b4169f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import os
from langchain_cerebras import ChatCerebras
CEREBRAS_API_KEY = os.environ.get("CEREBRAS_API_KEY")
if not CEREBRAS_API_KEY:
raise ValueError("CEREBRAS_API_KEY not set")
llm = ChatCerebras(
model="gpt-oss-120b",
temperature=0.6,
api_key=CEREBRAS_API_KEY
)
|