Conversation
Each tool now goes to Unity Gateway with `strict: false`. Without it, OpenAI's Responses API turns strict mode on for GPT models wherever it can convert the schema, and strict mode requires a value for every parameter. GPT models then fill the optional parameters of Copilot's tools with guesses, where the tool's own default should apply. Copilot's own Responses client sends `strict: false` too. On a staging workspace every listed model that answered accepted the field. Only GPT models changed: with it, they can leave optional parameters out. Co-authored-by: Isaac <no-reply@databricks.com>
louis-johnston-db
temporarily deployed
to
test-trigger-is
October 13, 2026 12:34 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
October 13, 2026 12:35 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
October 13, 2026 12:35 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Sends each tool to Unity Gateway with
strict: false, as suggested in review on #2247. This builds on #2247, so the PR targets #2247's branch until #2247 merges.Nothing changes for users yet. As in #2247, the
databricksvendor isn't declared, so VS Code sends the provider no chat requests.strict, OpenAI's Responses API turns strict mode on for GPT models wherever it can convert the schema. Strict mode makes every parameter required, so GPT models fill the optional parameters of Copilot's tools with guesses, where the tool's own default should apply. For example:includePatternorincludeIgnoredFileswhen searching text;filePathswhen listing errors.strict: falseon every function tool.Tests
strict: falseon every tool. Removing the field in the compiled code makes it fail.yarn test:lint;tsc;strict: false:strict: false. The models that failed did so the same way both times: not routable, not found, a rate limit of 0, or a tokens-per-minute limit.strictleft out, the gateway's reply showed strict mode on, and every call filled both optional parameters. Withstrict: false, the newest GPT models left them out every time; older ones still sometimes filled them.This pull request and its description were written by Isaac.