Add basic support for Google AI models #1145
Annotations
3 errors
build:
packages/core/src/chat.ts#L821
The expression `genOptions.logprobs || top_logprobs > 0 ? true : undefined` may not work as intended due to operator precedence. Consider using parentheses to clarify the logic.
|
build:
packages/core/src/connection.ts#L294
The `base` URL for the Google API is not validated. Consider adding a check to ensure it's a valid URL to prevent potential runtime errors.
|
build:
packages/core/src/connection.ts#L289
The function `parseTokenFromEnv` for the Google provider does not handle the case where `model` is undefined. Ensure that `model` is defined before returning the configuration.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
genai-results
|
77.7 KB |
|