feat: add OpenRouter multi-key rotation, improve Docker setup and report robustness#478
Open
heartfish00 wants to merge 2 commits into666ghj:mainfrom
Open
Conversation
…ort robustness - Add openrouter_runtime.py with round-robin key rotation across OPENROUTER_API_KEY1..6 and automatic failover on 401/402/429/5xx/auth/credit-limit errors - Update config, LLM client, and all simulation scripts to use OpenRouter runtime - Improve report_agent outline sanitization with fallback defaults and duplicate title handling - Enhance LLM client with request labeling, structured error logging, and null content handling - Switch Dockerfile to python:3.11-slim-bookworm with Node.js 20 via nodesource - Change docker-compose to build from source instead of pre-built image - Update README (EN/CN) with OpenRouter configuration guide - Add docs/ directory with research materials - Make Vite browser open configurable via VITE_OPEN_BROWSER env var - Add .omx/ and .omc/ to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ibility - Add input_parse_mode (text_only / text_plus_vision) for file upload with optional LLM vision enrichment - Add INPUT_LLM_* config for dedicated parsing model (falls back to general LLM config) - Fix frontend API base URL: use relative paths instead of hardcoded hostname:5001, so requests route through Vite proxy (dev) / reverse proxy (prod) - Extend allowed file types to include PNG, JPG, JPEG, WEBP - Update OpenRouter boost key to reuse multi-key pool with reverse order - UI improvements across all step components Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
help to setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
openrouter_runtime.pywith round-robin key rotation acrossOPENROUTER_API_KEY1..6and automatic failover on 401/402/429/5xx/auth/credit-limit errorsreport_agentoutline sanitization with fallback defaults and duplicate title handlingLLMClientwith request labeling, structured error logging, and null content handlingpython:3.11-slim-bookwormwith Node.js 20 via nodesourcedocker-compose.ymlto build from source instead of pre-built imageVITE_OPEN_BROWSERenv vardocs/directory with research materialsTest plan
docker compose up -d --build🤖 Generated with Claude Code