Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gemini 2 flash thinking model name check (#1283)
a Small change to update the check for gemini 2 flash thinking model to use `contains` instead of `==` to allow specifying a region if needed with OpenAI compatible proxies. Ex: usage: ``` client<llm> GEMINI_V2_FLASH_THINKING { provider "openai-generic" retry_policy Exponential options { model "googlevertexai-us-central1:gemini-2.0-flash-thinking-exp-1219" api_key env.MY_TOKEN base_url "https://my-proxy.ai/v1" } } ``` <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Update `content_part()` in `googleai_client.rs` to use `contains` for model name check, allowing region-specific names. > > - **Behavior**: > - Update `content_part()` in `googleai_client.rs` to use `contains` instead of `==` for model name check, allowing region-specific model names. > - **Misc**: > - No other changes or refactoring in the code. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 9f19ef8. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: Gasser Aly <[email protected]>
- Loading branch information