注册并分享邀请链接,可获得视频播放与邀请奖励。

Dan (@Daniel_Farinax) “Grok Build Developers 💾 Headless runs aren't one-shot. Capture a session, then” — TopicDigg

Dan 的个人资料封面
Dan 的头像
Dan
@Daniel_Farinax
🇺🇸 Building FREE apps and more Problem Solver | Hacker (Follow me for alpha)
加入 July 2009
519 正在关注    11.1K 粉丝
Grok Build Developers 💾 Headless runs aren't one-shot. Capture a session, then continue it later with full context. # run headless, grab the session id SID=$(grok -p "My name is Dan" --output-format json | jq -r .sessionId) # resume that exact session, it still remembers grok -r "$SID" -p "What's my name?" # -> Dan -c continues the most recent session in this dir; -r targets a specific one. Plain output won't return the id, so use --output-format json.
显示更多