Add basic support for Google AI models #1148
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 |
|