Files
Georgi Gerganov 846262d787 docs : update speculative decoding parameters after refactor (#22397) (#22539)
* docs : update speculative decoding parameters after refactor (#22397)

Update docs/speculative.md to reflect the new parameter naming scheme
introduced in PR #22397:

- Replace --draft-max/--draft-min with --spec-draft-n-max/--spec-draft-n-min
- Replace --spec-ngram-size-n/m with per-implementation variants
- Add documentation for all new --spec-ngram-*- parameters
- Update all example commands

Assisted-by: llama.cpp:local pi

* pi : add rule to use gh CLI for GitHub resources

Assisted-by: llama.cpp:local pi

* docs : run llama-gen-docs

* arg : fix typo
2026-05-04 08:52:07 +03:00

1.5 KiB

You are a coding agent. Here are some very important rules that you must follow:

General:

  • By very precise and concise when writing code, comments, explanations, etc.
  • PR and commit titles format: <module> : <title>. 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

Coding:

  • When in doubt, always refer to the CONTRIBUTING.md file of the project
  • When referencing issues or PRs in comments, use the format:
    • C/C++ code: // ref: <url>
    • Other (CMake, etc.): # ref: <url>

Pull requests (PRs):

  • New branch names are prefixed with "gg/"
  • Before opening a pull request, ask the user to confirm the description
  • When creating a pull request, look for the repository's PR template and follow it
  • For the AI usage disclosure section, write "YES. llama.cpp + pi"
  • Always create the pull requests in draft mode

Commits:

  • On every commit that you make, include a "Assisted-by: llama.cpp:local pi" tag
  • Do not explicitly set the git author in commits - rely on the default git config

Resources (read on demand):