-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add clientId parameter in common #107
Conversation
This parameter is used to fill the `x-goog-api-client` header
common/src/main/kotlin/com/google/ai/client/generativeai/common/APIController.kt
Show resolved
Hide resolved
*/ | ||
class APIController | ||
internal constructor( | ||
private val key: String, | ||
model: String, | ||
private val requestOptions: RequestOptions, | ||
httpEngine: HttpClientEngine | ||
httpEngine: HttpClientEngine, | ||
private val clientId: String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field is named apiClient
in Web - should we name it the same thing for consistency? I understand it's an internal field, so consistency shouldn't be a top priority.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks for the heads up @thatfiredev See #108
This parameter is used to fill the
x-goog-api-client
header