You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
`
from grok_client import GrokClient
cookies = {
"sso-rw": "eyJhbGciOiJIUzI1NiJ9.ey...",
"sso": "eyJhbGciOiJIUzI1NiJ9.eyJzZXNzaW9..."
}
client = GrokClient(cookies)
client = GrokClient({"sso": cookies['sso'], "sso-rw": cookies["sso-rw"]})
response = client.send_message("write a poem")
print(response)
`
Using either declaration method results in an empty response.