这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@toby
Copy link
Member

@toby toby commented Apr 21, 2025

Windsurf is erroring on the create_pull_request tool because we're using an array of types to make fields nullable. This PR uses anyOf instead and should fix the issue.

Closes: #318

Windsurf is erroring on the `create_pull_request` tool because we're
using an array of types to make fields nullable. This PR uses `anyOf`
instead and should fix the issue.
Copilot AI review requested due to automatic review settings April 21, 2025 19:15
@toby toby requested a review from a team as a code owner April 21, 2025 19:15
Copy link
Contributor

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.

Pull Request Overview

This PR addresses an error with the pull request creation tool by updating the JSON schema definitions for nullable types to use the "anyOf" pattern instead of an array of types.

  • Changes include modifying the fields "position", "line", "side", "start_line", and "start_side" to use the new "anyOf" syntax.
  • The update aims to resolve errors with Windsurf related to handling nullable types.

@SamMorrowDrums SamMorrowDrums merged commit 9fa582d into main Apr 21, 2025
16 checks passed
@SamMorrowDrums SamMorrowDrums deleted the fix-pr-review branch April 21, 2025 19:19
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.

Can't install into latest Windsurf

3 participants