diff --git a/configs/roles.example.yaml b/configs/roles.example.yaml index 554c78c..c104483 100644 --- a/configs/roles.example.yaml +++ b/configs/roles.example.yaml @@ -9,6 +9,21 @@ roles: preferred_families: ["Qwen3", "Mistral"] min_context: 8192 + - role_id: "scientific_translator" + display_name: "Scientific Translator" + description: "Translation-oriented chat route for site localization" + operation: "chat" + modality: "text" + prompt_policy: + system_prompt: "Translate faithfully. Preserve meaning, structure, citations, and technical terms. Return only the translation." + request_policy: + body_defaults: + temperature: 0.1 + routing_policy: + preferred_families: ["Qwen3", "Mistral", "Llama"] + min_context: 8192 + require_loaded: true + - role_id: "embedder" display_name: "Embedder" operation: "embeddings" diff --git a/configs/roles.singlebox.p40.example.yaml b/configs/roles.singlebox.p40.example.yaml index 3067c4c..a8dfa5e 100644 --- a/configs/roles.singlebox.p40.example.yaml +++ b/configs/roles.singlebox.p40.example.yaml @@ -21,6 +21,21 @@ roles: preferred_families: ["qwen3.5-9b", "qwen3.5"] require_loaded: true + - role_id: "scientific_translator" + display_name: "Scientific Translator" + description: "Translation-oriented chat route for site localization" + operation: "chat" + modality: "text" + prompt_policy: + system_prompt: "Translate faithfully. Preserve meaning, structure, citations, and technical terms. Return only the translation." + request_policy: + body_defaults: + temperature: 0.1 + routing_policy: + preferred_families: ["qwen3.5-9b", "qwen3.5", "qwen2.5-14b", "qwen2.5"] + min_context: 8192 + require_loaded: true + - role_id: "background_summarizer" display_name: "Background Summarizer" description: "Slow fallback route for low-priority work"