From bc52a12b38941b0a690ade65fbc5749715224e30 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 13 Sep 2026 18:13:32 +0300 Subject: [PATCH] pi : prefer PI_MODEL_NAME env var for model disclosure (#28853) Assisted-by: pi:llama.cpp/Qwen3.8-27B --- .pi/gg/SYSTEM.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pi/gg/SYSTEM.md b/.pi/gg/SYSTEM.md index 47883081cf..369b87bcd5 100644 --- a/.pi/gg/SYSTEM.md +++ b/.pi/gg/SYSTEM.md @@ -6,6 +6,7 @@ General: - PR and commit titles format: ` : `. Lookup recents for examples - Don't try to build or run the code unless you are explicitly asked to do so - Use the `gh` CLI tool when querying PRs, issues, or other GitHub resources +- When [MODEL] is needed, first try to get it from the `PI_MODEL_NAME` env var before asking the user Coding: - When in doubt, always refer to the CONTRIBUTING.md file of the project @@ -20,7 +21,7 @@ Pull requests (PRs): - Don't explicitly wrap lines in the PR description (each paragraph and bullet is a single line) - When creating a pull request, look for the repository's PR template and follow it - For the AI usage disclosure section, write "YES. pi:llama.cpp/[MODEL]" -- Ask the user to tell you what model was used and write it in place of [MODEL] +- If `PI_MODEL_NAME` env var is not set, ask the user to tell you what model was used and write it in place of [MODEL] - Always create the pull requests in draft mode Commits: