- Refactor codebase into src/ (preprocessing, translation, assembly) - Add pipeline/ scripts for individual stages - Externalize configuration to config/config.yaml - Fix Cover Image preservation - Update documentation and manuals
40 lines
929 B
JSON
40 lines
929 B
JSON
{
|
|
"llm": {
|
|
"provider": "openrouter",
|
|
"base_url": "https://openrouter.ai/api/v1",
|
|
"api_key": "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",
|
|
"models": {
|
|
"fast": "google/gemini-3-flash-preview",
|
|
"smart": "google/gemini-3-pro-preview"
|
|
},
|
|
"arena_models": [
|
|
"google/gemini-3-flash-preview",
|
|
"openai/gpt-5-mini",
|
|
"anthropic/claude-haiku-4.5"
|
|
],
|
|
"judge_model": "openai/gpt-5.1",
|
|
"rate_limits": {
|
|
"requests_per_minute": 60,
|
|
"concurrent_requests": 32
|
|
}
|
|
},
|
|
"translation": {
|
|
"chunk_size": 5000,
|
|
"temperature": 0.3,
|
|
"strategy": "arena_winner"
|
|
},
|
|
"processing": {
|
|
"min_paragraph_length": 5
|
|
},
|
|
"output": {
|
|
"output_dir": "output",
|
|
"filename_suffix": "_bilingual"
|
|
},
|
|
"logging": {
|
|
"level": "INFO",
|
|
"file": "logs/translator.log",
|
|
"rotation": "10 MB",
|
|
"retention": "7 days"
|
|
}
|
|
}
|