Skip to content

feat: add AI request option types#5

Open
jn12-29 wants to merge 1 commit into
ZToolsCenter:mainfrom
jn12-29:codex/ai-request-options-types
Open

feat: add AI request option types#5
jn12-29 wants to merge 1 commit into
ZToolsCenter:mainfrom
jn12-29:codex/ai-request-options-types

Conversation

@jn12-29

@jn12-29 jn12-29 commented Jun 7, 2026

Copy link
Copy Markdown

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

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jn12-29 jn12-29 marked this pull request as ready for review June 7, 2026 15:48
Copilot AI review requested due to automatic review settings June 7, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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