chore: nettoyage .gitignore - retrait venv, __pycache__, .env, data, logs, modèles du tracking
This commit is contained in:
parent
7333a22bcd
commit
604a5affe0
9231 changed files with 1244 additions and 1601201 deletions
13
main.py
13
main.py
|
|
@ -8,7 +8,7 @@ import discord
|
|||
from dotenv import load_dotenv
|
||||
|
||||
# Import our modular components
|
||||
from core.bot import Superviseur
|
||||
from core.bot import Bot
|
||||
from core.llm import LLMManager
|
||||
|
||||
# Setup Logging
|
||||
|
|
@ -20,7 +20,7 @@ logging.basicConfig(
|
|||
logging.StreamHandler(sys.stdout)
|
||||
]
|
||||
)
|
||||
logger = logging.getLogger('Superviseur')
|
||||
logger = logging.getLogger('Beta')
|
||||
|
||||
# Load environment
|
||||
load_dotenv()
|
||||
|
|
@ -39,6 +39,10 @@ if not GUILD_ID:
|
|||
# Ollama model name (from .env)
|
||||
MODEL_NAME = os.getenv("OLLAMA_MODEL", "gpt-oss:20b")
|
||||
|
||||
# Favorite users (special personality)
|
||||
fav_env = os.getenv("FAVORITE_IDS", "")
|
||||
FAVORITE_IDS = [int(i.strip()) for i in fav_env.split(",") if i.strip().isdigit()]
|
||||
|
||||
async def main():
|
||||
"""Main startup sequence."""
|
||||
logger.info("◈ SYSTEM: Initializing Superviseur with Ollama Backend...")
|
||||
|
|
@ -67,12 +71,13 @@ async def main():
|
|||
intents.members = True
|
||||
intents.voice_states = True
|
||||
|
||||
bot = Superviseur(
|
||||
bot = Bot(
|
||||
llama_model=llm,
|
||||
command_prefix="!",
|
||||
guild_id=int(GUILD_ID),
|
||||
system_prompt=SYSTEM_PROMPT,
|
||||
intents=intents
|
||||
intents=intents,
|
||||
favorite_ids=FAVORITE_IDS
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue