feat: add solve_task.py direct solver and fix MCP rate limit issues
- Add solve_task.py: fast direct solver (1 LLM call per task, no deepagents overhead) - Add RetryOnRateLimitMiddleware: auto-retry on 429 from any tool - Fix double MCP load: __init__.py cleared, pipeline reuses agent.py journal tools - Fix proxy: add NO_PROXY for openrouter.ai, platform.brojs.ru, git.brojs.ru - Add utility scripts: get_task_ids.py, read_tasks.py - Update run_pipeline.py: TARGET_IDS support, unbuffered output Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
import asyncio, json
|
||||
import asyncio, json, os
|
||||
# Обходим локальный прокси для всех наших сервисов (иначе SSL-ошибка)
|
||||
os.environ["NO_PROXY"] = "openrouter.ai,platform.brojs.ru,git.brojs.ru," + os.environ.get("NO_PROXY", "")
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
from src.agent.mcp_client import load_journal_toolsets, JOURNAL_PREFIX
|
||||
|
||||
Reference in New Issue
Block a user