Skip to content

feat: update Gemini adaptor to support custom response_format #249

feat: update Gemini adaptor to support custom response_format

feat: update Gemini adaptor to support custom response_format #249

Triggered via pull request October 24, 2024 02:58
Status Failure
Total duration 1m 21s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
commit_lint
You have commit messages with errors ⧗ input: feat: update Gemini adaptor to support custom response format The code changes in the `main.go` file update the Gemini adaptor to support custom response formats. It adds a `mimeTypeMap` variable to map response format types to MIME types. The `ConvertRequest` function now checks if the `ResponseFormat` field is provided in the request and sets the appropriate response MIME type and schema in the `geminiRequest` object. ✖ body's lines must not be longer than 100 characters [body-max-line-length] ✖ found 1 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
Unit tests
Process completed with exit code 1.
commit_lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/