Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty response with cookies #9

Open
traddo opened this issue Mar 16, 2025 · 0 comments
Open

empty response with cookies #9

traddo opened this issue Mar 16, 2025 · 0 comments

Comments

@traddo
Copy link

traddo commented Mar 16, 2025

`
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant