uucece (@nnecec)Grok Build 接中转站教程 中发帖

grok 4.5 之后站里多了很多热心的佬分享 apikey,刚开始我也不知道咋配,改了环境变量也没 
用,后来亲测改 grok 的 config.toml 就可以。 
mac的配置在  ~/.grok/config.toml 
分享个模板。 
[models]
default = "grok-4.5"
web_search = "grok-4.5"

[endpoints]
# models_base_url = "a"
# models_base_url = "b"
models_base_url = "c"

[model."grok-4.5"]
model = "grok-4.5"
name = "Grok 4.5"
description = "Grok 4.5"
# api_key = "a"
# api_key = "b"
api_key = "c"


context_wi...
 
 
Back to Top