ZIm/crates/language_model/src
volt 799e81ffe5
google_ai: Add Gemini 2.0 Flash support (#22665)
Release Notes:

- Added support for Google's Gemini 2.0 Flash experimental model.

Note:

Weirdly enough the model is slow on small talk responses like 'hi' (in
my tests) but very fast on things that need more tokens like 'write me a
snake game in python'. Likely an API problem.

TESTED ONLY ON WINDOWS! Would test further but don't have Linux
installed and don't have an Mac. Will likely work everywhere.

Why?:

I think Gemini 2.0 Flash is incredibly good model at coding and
following instructions. I think it would be nice to have it in the
editor. I did as minimal changes as possible while adding the model and
streaming validation. I think it's worth merging the commits as they
bring good improvements.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2025-01-06 21:28:31 +00:00
..
model google_ai: Add Gemini 2.0 Flash support (#22665) 2025-01-06 21:28:31 +00:00
fake_provider.rs Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
language_model.rs Fuse LLM completion stream to avoid a panic (#21914) 2024-12-12 11:39:35 -05:00
rate_limiter.rs Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
registry.rs gpui: Don't export named Context from prelude (#21869) 2024-12-11 13:21:40 -05:00
request.rs assistant2: Restructure storage of tool uses and results (#21194) 2024-11-25 21:53:27 -05:00
role.rs Restructure workflow step resolution and fix inserting newlines (#15720) 2024-08-05 09:18:06 +02:00