Use claude-3-haiku model (configurable via CLAUDE_MODEL env)
This commit is contained in:
@@ -80,7 +80,7 @@ CATEGORY_KEYWORDS = {
|
|||||||
|
|
||||||
# Translation settings
|
# Translation settings
|
||||||
TRANSLATION = {
|
TRANSLATION = {
|
||||||
'model': 'claude-3-5-sonnet-20241022',
|
'model': os.getenv('CLAUDE_MODEL', 'claude-3-haiku-20240307'),
|
||||||
'max_tokens': 4000,
|
'max_tokens': 4000,
|
||||||
'temperature': 0.5, # Higher = more natural, casual translation
|
'temperature': 0.5, # Higher = more natural, casual translation
|
||||||
'preserve_terms': [ # Technical terms to keep in English
|
'preserve_terms': [ # Technical terms to keep in English
|
||||||
|
|||||||
Reference in New Issue
Block a user