Skip to content

Add basic support for Google AI models #1148

Add basic support for Google AI models

Add basic support for Google AI models #1148

Triggered via pull request November 17, 2024 12:33
@pelikhanpelikhan
synchronize #868
googlegemini
Status Success
Total duration 1m 40s
Artifacts 1

genai-pr-commit-review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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 hardcoded. Consider making it configurable to enhance flexibility and adaptability.
build: packages/core/src/fetch.ts#L166
The `curl` command is missing quotes around the URL, which could lead to issues if the URL contains special characters.

Artifacts

Produced during runtime
Name Size
genai-results
78.2 KB