feat: add AI request option types#5
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the ZToolsAiOption interface in ztools.api.d.ts to include optional headers and extraBody fields, allowing users to pass extra request headers and OpenAI-compatible request body fields as objects. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds optional AI request fields to the public plugin API types.\n\nChanges:\n- Add headers as a typed request header map.\n- Add extraBody for OpenAI-compatible request body extensions.\n\nValidation:\n- npx --no-install tsc --noEmit --project tsconfig.json