Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"openrouter": {
|
||||
"api_key": "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",
|
||||
"base_url": "https://openrouter.ai/api/v1",
|
||||
"models": {
|
||||
"test": "google/gemini-2.5-flash-lite",
|
||||
"production": "google/gemini-2.5-flash"
|
||||
},
|
||||
"rate_limits": {
|
||||
"requests_per_minute": 60,
|
||||
"concurrent_requests": 32
|
||||
}
|
||||
},
|
||||
"translation": {
|
||||
"chunk_size": 8000,
|
||||
"temperature": 0.2,
|
||||
"target_language": "zh-CN"
|
||||
},
|
||||
"processing": {
|
||||
"min_paragraph_length": 30
|
||||
},
|
||||
"cache": {
|
||||
"enabled": true,
|
||||
"directory": "cache",
|
||||
"max_age_days": 30
|
||||
},
|
||||
"output": {
|
||||
"filename_suffix": "_bilingual",
|
||||
"preserve_images": true,
|
||||
"preserve_css": true,
|
||||
"output_dir": "output"
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"file": "logs/translator.log",
|
||||
"rotation": "10 MB",
|
||||
"retention": "7 days"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user