Skip to content

Add visionModel support #1143

Add visionModel support

Add visionModel support #1143

Triggered via pull request November 16, 2024 07:36
@pelikhanpelikhan
synchronize #866
vision-model
Status Success
Total duration 1m 9s
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#L348
The assignment of `toolContent` to itself is unnecessary and can be removed. It seems like a formatting issue.
build: packages/core/src/runpromptcontext.ts#L693
The code throws a `NotSupportedError` for images, but images are being processed and pushed to the `messages` array. This inconsistency might lead to unexpected behavior.
build: packages/core/src/chat.ts#L739
The `toChatCompletionUserMessage` function is called with an empty string as the message content. This might lead to unintended empty messages being sent.

Artifacts

Produced during runtime
Name Size
genai-results
54.1 KB