hendrik/config.py
2026-05-02 21:08:42 +07:00

15 lines
584 B
Python

import os
from dotenv import load_dotenv
load_dotenv()
# LLM Configuration
LLM_BASE_URL = os.getenv("LLM_BASE_URL", default="http://localhost:11434/v1")
LLM_MODEL = os.getenv("LLM_MODEL", default="deepseek-r1:8b")
LLM_API_KEY = os.getenv("LLM_API_KEY", default="ollama")
LLM_TIMEOUT = int(os.getenv("LLM_TIMEOUT", default="600"))
# Agent Configuration
AGENT_MAX_ITERATIONS = int(os.getenv("AGENT_MAX_ITERATIONS", default="10"))
# Tool Configuration (for future use)
MAX_TOOL_OUTPUT = int(os.getenv("MAX_TOOL_OUTPUT", default="4000"))