Skip to content

refactor(toolbox): simplify tool type definitions and update model re…#44112

Open
glecaros wants to merge 2 commits into
feature/foundry-releasefrom
feature/foundry-toolbox-variants-fix
Open

refactor(toolbox): simplify tool type definitions and update model re…#44112
glecaros wants to merge 2 commits into
feature/foundry-releasefrom
feature/foundry-toolbox-variants-fix

Conversation

@glecaros

Copy link
Copy Markdown
Member

…ferences

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Click here to open a PR for only SDK configuration.

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named Swagger BreakingChange has failed. To unblock this PR, follow the process at aka.ms/brch.
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions Bot added data-plane TypeSpec Authored with TypeSpec labels Jun 19, 2026
@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Azure.AI.Projects

Comment generated by After APIView workflow run.

fabric_iq_preview: ToolboxFabricIQPreviewToolType,
toolbox_search_preview: ToolboxSearchPreviewToolType,
string,
code_interpreter: "code_interpreter",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can't we re-use the string value defined for tool type?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Use ToolType.code_interpreter instead of "code_interpreter"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

that does not really work as ToolType.code_interpreter is not technically a string but rather a UnionVariant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants