▲ 2 r/GeminiFeedback+1 crossposts

Gemini new API key (AQ__) no longer works in Python

Gemini new API key (AQ__) no longer works in Python

Used to be able to run google-genai SDK inside Python via a Gemini API key.

A month ago, the API stops working. Python starts throwing error "ACCESS_TOKEN_TYPE_UNSUPPORTED".

Gemini said they no longer generate the old unrestricted key that starts with AIz. But the new key (starting with AQ) is not recognised when called from Python.

I have tried the following:
* updated the latest Google Gen AI SDK in Python
pip uninstall google-generativeai
pip install -U google-genai
* hardcoded the API into the environment via Powershell

I have seen some people posting similar issues in Google forums, but as usual, those forum 'experts' are useless.

Anyone actually managed to solve this problem?

reddit.com
u/CoolAd5798 — 5 days ago

Gemini new API key (AQ__) no longer works in Python

Gemini new API key (AQ__) no longer works in Python

Used to be able to run google-genai SDK inside Python via a Gemini API key.

A month ago, the API stops working. Python starts throwing error "ACCESS_TOKEN_TYPE_UNSUPPORTED".

Gemini said they no longer generate the old unrestricted key that starts with AIz. But the new key (starting with AQ) is not recognised when called from Python.

I have tried the following:
* updated the latest Google Gen AI SDK in Python
pip uninstall google-generativeai
pip install -U google-genai
* hardcoded the API into the environment via Powershell

I have seen some people posting similar issues in Google forums, but as usual, those forum 'experts' are useless.

Anyone actually managed to solve this problem?

reddit.com
u/CoolAd5798 — 5 days ago
▲ 6 r/aus

What are your thoughts on Nationals political candidates outside of their allegiance with Liberals?

Personal opinion: I have seen some MPs who are out on the ground with their rural constituents and fight for real issues, not the cultural wars that the higher-ups of the Coalition love to do. Maybe it's just the isolated few and is not representative of the whole party, but seems these MPs have way more sense than whatever the bullock that Libs are doing at the moment.

reddit.com
u/CoolAd5798 — 5 days ago
▲ 0 r/GoogleGeminiAI+1 crossposts

Gemini new API key (AQ__) no longer works in Python

Used to be able to run google-genai SDK inside Python via a Gemini API key.

A month ago, the API stops working. Python starts throwing error "ACCESS_TOKEN_TYPE_UNSUPPORTED".

Gemini said they no longer generate the old unrestricted key that starts with AIz. But the new key (starting with AQ) is not recognised when called from Python.

I have tried the following:
* updated the latest Google Gen AI SDK in Python
pip uninstall google-generativeai
pip install -U google-genai
* hardcoded the API into the environment via Powershell

I have seen some people posting similar issues in Google forums, but as usual, those forum 'experts' are useless.

Anyone actually managed to solve this problem?

reddit.com
u/CoolAd5798 — 10 days ago
▲ 6 r/aussie

Carrick Ryan explains why it is dangerous to elect a Gina Rhinehart puppet party to govern Oz

Pauline Hanson is the frontface representing the one nation movement, so we like to think she is the one driving ON philosophies and policies. But very few people realise how much of that driving is done behind the scene by Gina Rhinehart, and how close she actually is with Trump and the MAGA movement. this video is worthwhile watching to know why it is not really Pauline Hanson that we need to worry about, but the billionaire and US money behind her. My prediction is soon enough, Guardian will uncover that the correlation btw Mar-a-Lago trip and the sudden rise in poll numbers is no coincidence.

Also, Gina has a track record of suing media into oblivion so watch this before it disappears.

https://www.facebook.com/share/v/1BR26LEv6W

reddit.com
u/CoolAd5798 — 1 month ago

Carrick Ryan explains why it is dangerous to elect a Gine Rinehart puppet party to govern Oz

Pauline Hanson is the frontface representing the one nation movement, so we like to think she is the one driving ON philosophies and policies. But very few people realise how much of that driving is done behind the scene by Gina Rhinehart, and how close she actually is with Trump and the MAGA movement. this video is worthwhile watching to know why it is not really Pauline Hanson that we need to worry about, but the billionaire and US money behind her. My prediction is soon enough, Guardian will uncover that the correlation btw Mar-a-Lago trip and the sudden rise in poll numbers is no coincidence.

Also, Gina has a track record of suing media into oblivion so watch this before it disappears.

https://www.facebook.com/share/v/1BR26LEv6W/

reddit.com
u/CoolAd5798 — 1 month ago

Advice to take a step back when having a crush?

I have been doing the work for quite a while now. I finally get my life back together and do some volunteer work which I enjoy.

At the volunteer place, I met a new girl and had a crush on her. We have known each other for 3 days, but one night she opened up to me about her dream and past life, and we talked until midnight.

I realise that strong connection sent me into an anxiety spiral, where I started to develop some limerence and put her on a pedestal. So when she pulls back a little to mingle with others, I started to panic and chase her a little.

The volunteer programme is important for my personal development, so I really want to be level-headed while finding out whether she is really interested in me and if we are really compatible.

Any tip to keep myself grounded / maintain my agency / overcome the limerence while still giving the space for the connection to develop, if it ever materialises?

reddit.com
u/CoolAd5798 — 1 month ago

Advice to take a step back when having a crush?

I have been doing the work for quite a while now. I finally get my life back together and do some volunteer work which I enjoy.

At the volunteer place, I met a new girl and had a crush on her. We have known each other for 3 days, but one night she opened up to me about her dream and past life, and we talked until midnight.

I realise that strong connection sent me into an anxiety spiral, where I started to develop some limerence and put her on a pedestal. So when she pulls back a little to mingle with others, I started to panic and chase her a little.

The volunteer programme is important for my personal development, so I really want to be level-headed while finding out whether she is really interested in me and if we are really compatible.

Any tip to keep myself grounded / maintain my agency / overcome the limerence while still giving the space for the connection to develop, if it ever materialises?

reddit.com
u/CoolAd5798 — 1 month ago

How to reduce my ETF exposure to Tesla and SpaceX?

SpaceX will be fast-tracked for inclusion in broad ETF indices once IPO went through.

I am not comfortable with having my ETF portfolio being too exposed to both Musk's companies.

Frustratingly, my passive approach to investing means that I have been relying on broad market index ETF, including S&P500 and ASX200.

Aside from reducing my % of S&P500, are there other options that give me exposure to a broad market without overexposure to the tech companies in US and Tesla/SpaceX?

reddit.com
u/CoolAd5798 — 2 months ago

Asking single ladies: those friends who are married/in a relationship/with kids that make effort for you, how did they show up?

I feel like I need a realistic stock take of what is considered balance / reciprocal friendship when you are that single friend. Obviously I want to emphasize with my friends who are overwhelmed with other life priorities, but I want to see how people draw the line between slightly unbalanced friendship versus truly one-sided friendship

reddit.com
u/CoolAd5798 — 2 months ago
▲ 0 r/krakow

Hi, I'm visiting Krakow in December. Love to hear local recommendations on any local photographer meet up or photography walk around town (including places near to Krakow). Keen to meet other street and documentary photographers.

In addition, I would like to get some pointers on:

  • Good local restaurants (without the tourist crowd)
  • Nice sunset spots
  • A place to have an intro lesson to polka dance (or other Polish social dances)

Thank you!

reddit.com
u/CoolAd5798 — 3 months ago