Download agent/config.py from SUPER321/anam_code: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/SUPER321/anam_code/resolve/main/agent/config.py
- Command line
-
hf download hf://spaces/SUPER321/anam_code/agent/config.py
-
curl -L -o config.py https://huggingface.co/spaces/SUPER321/anam_code/resolve/main/agent/config.py
309 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| OPENAI_API_KEY = os.getenv("OPENAI_API_KEY", "") | |
| LLM_MODEL = os.getenv("LLM_MODEL", "gpt-4o-mini") | |
| LLM_BASE_URL = os.getenv("LLM_BASE_URL", "https://api.openai.com/v1") # swap for Groq/Ollama/etc. | |
| PORT = int(os.getenv("PORT", 8005)) | |