Skip to content

Align Whisk image workflows with Gemini generateContent schema - #1

Draft
jooni22 with Copilot wants to merge 3 commits into
customfrom
copilot/modify-whisk-service-logic
Draft

Align Whisk image workflows with Gemini generateContent schema#1
jooni22 with Copilot wants to merge 3 commits into
customfrom
copilot/modify-whisk-service-logic

Conversation

Copilot AI commented Feb 6, 2026

Copy link
Copy Markdown

The proxy needs to handle Whisk image generation, editing, and description requests in a way that is compatible with the Gemini REST generateContent format (e.g., gemini-2.5-flash-image). This updates the Whisk proxy path to accept Gemini-style inputs and return native Gemini-style outputs.

  • Gemini compatibility layer

    • Parse generateContent inputs to drive Whisk image generation, editing, and caption workflows.
    • Emit Gemini-compliant responses for image outputs and descriptions.
  • Request parsing coverage

    • Add focused unit tests validating Gemini-style request parsing for Whisk image operations.
// Parse Gemini generateContent inputs and route to Whisk image workflows,
// returning Gemini-compatible image/description responses.
resp, err := whiskExecutor.HandleGeminiGenerateContent(ctx, req)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • ai.google.dev
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Check how to modify additional logic from the Whisk service (editing and generating photos and creating descriptions) in such a way that the proxy is compatible with the native Gemini API, i.e., just like the gemini-2.5-flash-image model.
So like here:
https://ai.google.dev/gemini-api/docs/image-generation?hl=pl#rest_1


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 6, 2026 18:56
Co-authored-by: jooni22 <20043534+jooni22@users.noreply.github.com>
Co-authored-by: jooni22 <20043534+jooni22@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Whisk service for Gemini API compatibility Align Whisk image workflows with Gemini generateContent schema Feb 6, 2026
Copilot AI requested a review from jooni22 February 6, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants