You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by gs...@apache.org on 2026/10/12 03:33:39 UTC

(tooling-llmao) 08/08: help: Grok Build needs only the config block, not environment variables

This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-llmao.git

commit 7c1264791e16a3d62fb14ba56b787f33f2b022f4
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Sun Oct 11 22:32:18 2026 -0500

    help: Grok Build needs only the config block, not environment variables
    
    The model block in config.toml carries the address and the key, so the
    two exports were unnecessary. Confirmed by setting it up with the toml
    change alone.
    
    Co-authored-by: Claude Opus 5.5 <no...@anthropic.com>
---
 docs/help/grok-build.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/help/grok-build.md b/docs/help/grok-build.md
index 1c3026d..da1922f 100644
--- a/docs/help/grok-build.md
+++ b/docs/help/grok-build.md
@@ -13,9 +13,9 @@ context_window = 131072
 ```
 
 ```sh
-export GROK_XAI_API_BASE_URL=https://llm.apache.org/v1
-export XAI_API_KEY=<your personal access token>
 grok -m qwen3.8-27b
 ```
 
-A `~/.grok/auth.json` left by `grok login` outranks the key and sends calls elsewhere. Move that file aside. Only API-key inference reads `GROK_XAI_API_BASE_URL`.
+The block carries the address and the key, so no environment variables are needed.
+
+A `~/.grok/auth.json` left by `grok login` outranks the key and sends calls elsewhere. Move that file aside.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org