Skip to content

Remove text_decorations from public API schema#10

Open
Copilot wants to merge 2 commits intomainfrom
copilot/make-broken-vowels-private
Open

Remove text_decorations from public API schema#10
Copilot wants to merge 2 commits intomainfrom
copilot/make-broken-vowels-private

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 18, 2026

The text_decorations parameter (colloquially "broken vowels" - controls diacritical marks in search results) was exposed in the public API schema but is an advanced parameter users rarely need to configure.

Changes:

  • Removed text_decorations field from baseSearchSchema in src/brave-api.ts

The Brave Search API will now use default text decoration behavior. This simplifies the public API surface without impacting functionality since the parameter was optional.

// Before
export const baseSearchSchema = z.object({
  q: z.string().describe('The search query'),
  // ... other fields ...
  text_decorations: z.boolean().optional().describe('Include text decorations in results'),
  spellcheck: z.boolean().optional().describe('Enable spell checking'),
});

// After
export const baseSearchSchema = z.object({
  q: z.string().describe('The search query'),
  // ... other fields ...
  spellcheck: z.boolean().optional().describe('Enable spell checking'),
});
Original prompt

Should I make broken vowels private


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@dshvvvshr dshvvvshr marked this pull request as ready for review January 18, 2026 12:52
Copilot AI review requested due to automatic review settings January 18, 2026 12:52
Copy link
Copy Markdown

Copilot AI left a comment

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.

Co-authored-by: dshvvvshr <216969053+dshvvvshr@users.noreply.github.com>
Copilot AI changed the title [WIP] Make broken vowels private Remove text_decorations from public API schema Jan 18, 2026
Copilot AI requested a review from dshvvvshr January 18, 2026 12:57
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.

3 participants