diff options
| author | Sergey Kostyaev <s-kostyaev@users.noreply.github.com> | 2026-04-29 22:26:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-29 22:26:48 +0200 |
| commit | 03e1029ec7f061132bed0582064a3d6a1a315f76 (patch) | |
| tree | 03eb44b526cc43308bbfa6766600f85a0e51c60e /README.org | |
| parent | 89d724fd3bb1ad89c5c6a2f4b436311651d7b854 (diff) | |
| parent | 8b1ad67c930f5adb66ff7851d2d36d1cd6f5b768 (diff) | |
Merge pull request #408 from s-kostyaev/fix-issue-342-max-tokensexternals/ellama
Add max token limit support
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -174,9 +174,10 @@ More sophisticated configuration example: - ~ellama-provider-select~: Select ellama provider. - ~ellama-select-model~: Change the current provider model interactively. The model transient supports Ollama and OpenAI-compatible providers, including URL - editing for compatible APIs. Use "Reset model fields" to clear model, - temperature, and context-length overrides and let the provider use its - defaults; reset values are shown as ~default~ in the transient. + editing for compatible APIs. It can also set the maximum number of output + tokens. Use "Reset model fields" to clear model, temperature, context-length, + and max-token overrides and let the provider use its defaults; reset values + are shown as ~default~ in the transient. - ~ellama-code-complete~: Complete selected code or code in the current buffer according to a provided change using Ellama. - ~ellama-code-add~: Generate and insert new code based on description. This @@ -316,6 +317,8 @@ language is english. There are many supported providers: ~ollama~, ~open ai~, ~vertex~, ~GPT4All~. For more information see [[https://elpa.gnu.org/packages/llm.html][llm documentation]]. +- ~ellama-max-tokens~: Maximum number of tokens to generate. If not set, use + the provider default. - ~ellama-providers~: association list of model llm providers with name as key. - ~ellama-spinner-enabled~: Enable spinner during text generation. - ~ellama-spinner-type~: Spinner type for ellama. Default type is |
