How do I set the Google Gemini thinking budget?

The latest Google Gemini models have a configurable thinking budget that allows you to control the amount of time the model spends reasoning to generate a response.

---
provider: name-of-your-google-provider-in-latitude
model: gemini-2.5-flash
thinkingConfig:
  thinkingBudget: 2048
---

How do I set the Google Gemini safety settings?

The Google Gemini safety settings are opt-in configurations that provide a first layer of security for your prompts.

To do this, add safetySettings: list-of-safety-settings to the google config in the front matter of your prompt.

---
provider: name-of-your-google-provider-in-latitude
model: gemini-1.5-flash
safetySettings:
  - category: HARM_CATEGORY_HATE_SPEECH
    threshold: BLOCK_LOW_AND_ABOVE
  - category: HARM_CATEGORY_DANGEROUS_CONTENT
    threshold: BLOCK_MEDIUM_AND_ABOVE
---