cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Feat: Documenting 2.5 Flash thinking in REST/curl

Open andycandy opened this issue 8 months ago • 9 comments

Closes #723

Feat:

  • Adds a notebook for showcasing Gemini 2.5 flash thinking
  • nbfmt and lint checked

andycandy avatar Apr 20 '25 20:04 andycandy

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

View / edit / reply to this conversation on ReviewNB

nikitamaia commented on 2025-05-01T21:49:14Z ----------------------------------------------------------------

empty link. maybe worth removing since flash 2.0 is not used in this notebook.


andycandy commented on 2025-05-01T22:29:35Z ----------------------------------------------------------------

Alright I removed that link.

View / edit / reply to this conversation on ReviewNB

nikitamaia commented on 2025-05-01T21:49:15Z ----------------------------------------------------------------

None?


andycandy commented on 2025-05-01T22:14:50Z ----------------------------------------------------------------

Technically the response doesn't contain any thoughts tokens because it didn't use any, so while trying to access that object it throws an error so we are using a placeholder which shows up when there is no thoughts tokens included in the metadata.

View / edit / reply to this conversation on ReviewNB

nikitamaia commented on 2025-05-01T21:49:15Z ----------------------------------------------------------------

Here you say "you are fixing a value to the thinking budget" but in the payload below its set to 0. Can you clarify this?


andycandy commented on 2025-05-01T22:24:20Z ----------------------------------------------------------------

Apologies, it was a typo

Apologies, it was a typo


View entire conversation on ReviewNB

andycandy avatar May 01 '25 22:05 andycandy

Alright I removed that link.


View entire conversation on ReviewNB

andycandy avatar May 01 '25 22:05 andycandy

View / edit / reply to this conversation on ReviewNB

nikitamaia commented on 2025-05-02T15:52:50Z ----------------------------------------------------------------

actually one more thing, seems like this links back to the non rest example.


andycandy commented on 2025-05-02T16:27:43Z ----------------------------------------------------------------

Oh yeah, lemme fix that real quick.

andycandy commented on 2025-05-02T16:33:55Z ----------------------------------------------------------------

Fixed that!

Oh yeah, lemme fix that real quick.


View entire conversation on ReviewNB

andycandy avatar May 02 '25 16:05 andycandy

Fixed that!


View entire conversation on ReviewNB

andycandy avatar May 02 '25 16:05 andycandy