Skip to content

Commit 2db143b

Browse files
Apply suggestions from code review
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent b94d216 commit 2db143b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FirebaseAI/Sources/Types/Internal/Errors/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ These errors are not part of the public API and are used to handle specific erro
55

66
### Files:
77

8-
- **`BackendError.swift`**: Defines an error structure for capturing detailed error information from the backend service. It includes the HTTP response code, a message, an RPC status, and additional details. It conforms to `CustomNSError` to provide more detailed error information to the user.
8+
- **`BackendError.swift`**: Defines an error structure for capturing detailed error information from the backend service. It includes the HTTP response code, a message, an RPC status, and additional details. It conforms to `CustomNSError` to integrate with Cocoa error handling and provide richer error information.
99

1010
- **`EmptyContentError.swift`**: Defines a specific error for when a `Candidate` is returned with no content and no finish reason. This is a nested struct within an extension of `Candidate`.

FirebaseAI/Sources/Types/Internal/Tools/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ These types are internal and subject to change.
66

77
### Files:
88

9-
- **`URLContext.swift`**: Defines the `URLContext` struct. It is currently an empty struct and its purpose is to provide context about a URL to a tool in the future.
9+
- **`URLContext.swift`**: Defines the `URLContext` struct. It is currently an empty struct that serves to enable the URL context tool. Its presence in a `Tool` enables the feature, and it may be expanded in the future to carry more specific context.

0 commit comments

Comments
 (0)