gemini-cli
gemini-cli copied to clipboard
Context messed up after switching auth
What happened?
- hit slow response times, was told to /auth to switch to api key
- did /auth and switched to api key
- when agent resumed, it started doing something completely different
✦ Understood. I've revised the plan based on your feedback:
1. Hero Section: I'll enhance the hero section with a high-quality, relevant background image (using a
placeholder for now) to make it more visually appealing, instead of the browser mockup.
2. Features Section: I will proceed with redesigning the feature cards using the card-side layout for a more
modern look on larger screens.
3. Value Proposition Section: Instead of using stats with made-up numbers, I'll reformat the value propositions
into distinct cards to make them more visually organized and impactful.
4. Footer: I will proceed with the footer redesign for better organization.
I will skip the testimonials section for now.
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster
responses for the remainder of this session.
⚡ To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key
⚡ You can switch authentication methods by typing /auth
Does this revised plan sound good?
> /auth
> Yes, go ahead.
✦ Okay, I will add t.string :invitation_token, null: false to the teams table migration. First, I'll locate the
correct migration file.
What did you expect to happen?
No issues resuming after switching auth method.
Client information
$ gemini /about
╭──────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version 0.1.5 │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS linux │
│ │
╰──────────────────────────────────────────────────────╯
Login information
started with google account, then tried to move to api key
Anything else we need to know?
No response
Facing same issue automatically switching. ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
This was fixed by https://github.com/google-gemini/gemini-cli/commit/a8984a9b30d153219cf517a7dc77d65ea3ef0965