Skip to content

Commit cffc03b

Browse files
Update FirebaseAI/Sources/AGENTS.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent d4180fa commit cffc03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This directory contains the source code for the FirebaseAI library.
2424
- **`GenerativeAIRequest.swift`**: Defines the `GenerativeAIRequest` protocol for requests sent to the generative AI backend. It also defines `RequestOptions`.
2525
- **`GenerativeAIService.swift`**: Defines the `GenerativeAIService` struct, which is responsible for making requests to the generative AI backend. It handles things like authentication, URL construction, and response parsing.
2626
- **`GenerativeModel.swift`**: Defines the `GenerativeModel` class, which represents a remote multimodal model. It provides methods for generating content, counting tokens, and starting a chat via `startChat(history:)`, which returns a `Chat` instance.
27-
- **`GenerativeModelSession.swift`**: Defines the `GenerativeModelSession` class, which provides a stateful way to interact with a generative model. It's designed for use cases where the model's response depends on a shared context or state, but without the conversational turn-based structure of a `Chat`. It supports generating typed objects using the `@Generable` macro.
27+
- **`GenerativeModelSession.swift`**: Defines the `GenerativeModelSession` class, which provides a simplified interface for single-turn interactions with a generative model. It's particularly useful for generating typed objects from a model's response using the `@Generable` macro, without the conversational turn-based structure of a `Chat`.
2828
- **`History.swift`**: Defines the `History` class, a thread-safe class for managing the chat history, used by the `Chat` class.
2929
- **`JSONValue.swift`**: Defines the `JSONValue` enum and `JSONObject` typealias for representing JSON values.
3030
- **`ModalityTokenCount.swift`**: Defines the `ModalityTokenCount` and `ContentModality` structs for representing token counting information for a single modality.

0 commit comments

Comments
 (0)