v3.2.1: Reduce Coder max iterations from 15 to 8
Browse filesFiles changed (4)
122345# HuggingFace Spaces Dockerfile for CodePilot# BUILD_VERSION: 7 (v3.2 coder no list_files)# BUILD_VERSION: 8 (v3.2.1 coder max 8 iterations)FROM python:3.11-slim
# Set working directory19 unmodified lines2021222324232425262719 unmodified lines# ============================================================# STARTUP VERSION CHECK - Change this to detect if rebuild worked# ============================================================APP_VERSION = "3.2.0-coder-no-list"BUILD_ID = "2024-12-19-v6"APP_VERSION = "3.2.1-coder-max8"BUILD_ID = "2024-12-19-v7"print("=" * 60)print(f"[STARTUP] CodePilot Chainlit App")print(f"[STARTUP] APP_VERSION: {APP_VERSION}")174 unmodified lines175176177178179178179180181182174 unmodified lines # Track which files were modified modified_files = {}
# Run coding loop max_iterations = 15 # Run coding loop (v3.2: reduced from 15 to 8 to prevent over-exploration) max_iterations = 8 for iteration in range(max_iterations): # Call LLM response = self.client.chat(8 unmodified lines9101112121314158 unmodified lines"""
# VERSION CHECK - If you see this, new code is running!ORCHESTRATOR_VERSION = "3.2.0-coder-no-list"ORCHESTRATOR_VERSION = "3.2.1-coder-max8"print(f"[ORCHESTRATOR] ========== LOADING VERSION {ORCHESTRATOR_VERSION} ==========")
from enum import EnumDockerfile+1-1
chainlit_app.py+2-2
codepilot/agents/coder_agent.py+2-2
codepilot/agents/orchestrator.py+1-1