Add providers.yaml `language` / Action input `language`; prompts and published summary/inline honor it. Soften fail-closed messaging when models 429; prefer cohere/nvidia in the first-3 parallel set for dogfood.
24 lines
855 B
YAML
24 lines
855 B
YAML
# Bundled defaults — only providers you actually use.
|
|
# `key` is a FREE-FORM secret / env var name (no required gatekeep_ prefix).
|
|
# Put that name in the workflow step env, e.g. env: { OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} }
|
|
|
|
# Report language for prompts + published summary/inline comments (BCP-47-ish: zh-CN, en, …).
|
|
# Override with Action input `language` when set.
|
|
language: zh-CN
|
|
|
|
agreement_min: 2
|
|
temperature: 0
|
|
max_tokens: 4096
|
|
|
|
providers:
|
|
openrouter:
|
|
key: OPENROUTER_API_KEY
|
|
protocol: openai
|
|
# First 3 are used in parallel. Prefer models that tend to answer on free tier;
|
|
# put rate-limit-prone free gemma after cohere/nvidia.
|
|
models:
|
|
- cohere/north-mini-code:free
|
|
- nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free
|
|
- google/gemma-4-31b-it:free
|
|
- google/gemma-4-26b-a4b-it:free
|