---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/gemini_generate_content/types/type-aliases/GeminiRole.md
description: A conversation role on the `generateContent` wire.
---

# Type Alias: GeminiRole

```ts
type GeminiRole = "user" | "model";
```

Defined in: [src/batteries/llm/gemini\_generate\_content/types.ts:87](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/gemini_generate_content/types.ts#L87)

A conversation role on the `generateContent` wire.

## Remarks

Note `'model'` where OpenAI says `'assistant'`, and the ABSENCE of a system role — system text is
carried out-of-band in `systemInstruction`. A tool RESULT is a `user` turn carrying a
`functionResponse` part, which is the single most surprising difference from the OpenAI shape.
