-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Fix the version decorator on preview tool parameters models #34673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ninghu
merged 1 commit into
feature/azure-ai-agents-v1
from
ninhu/fix-version-decorators
May 14, 2025
Merged
Fix the version decorator on preview tool parameters models #34673
ninghu
merged 1 commit into
feature/azure-ai-agents-v1
from
ninhu/fix-version-decorators
May 14, 2025
Conversation
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
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
PR validation pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
anushree1808
approved these changes
May 14, 2025
lmazuel
pushed a commit
that referenced
this pull request
May 14, 2025
* First version of `endpoints` TypeSpec * Fix typos * Fix swagger * rename folder to assistants (plural) * Renaming * Evaluation TypeSpec (#30757) * Adding evaluation typespec files * Fixing namepsace * Updated swagger * Add hostName to client constructor. Use placeholder endpoint * Forgot this file * Rename hostName to endpoint * Updating Evaluation Typespec and Renaming Client using typespec (#30857) * Client rename * Adding comments * Temp changes until service fix * Fixing encodedName * Fixing encodedName * Fixing client name * Removing interface for evaluations * Adding evaluation get operation * Fixing get operation * Adding get operation * Adding updated swagger * Add auto-created Swagger examples * Update examples to have unique titles * Add data-plane\Azure.AI.Client\readme.md * Fix example to use real value from authType * Fix again... * Fix missing category and target in endpoint swagger examples * Suppress AvoidAnonymousParameter error * Recreated examples * Patch examples * Try again... * Patch samples (again)... * Try again * Refresh examples * Try again * Refresh examples * Manual fix to examples * Another manual fix to swagger * Update examples again * Jhakulin/azure ai client agents (#30878) * init with agents * update * update2 * update4 * update5 * update6 * update7 * update8 * update9 * update10 * update10 * update12 * update13 * update14 * update15 * Revert "update15" This reverts commit 9a34bd9. * update15 * update16 * update17 * update18 * update19 * update20 * update21 * update22 * update23 * update 23 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * uodate25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update25 * update26 * update27 * update version * remove version * fixes * update * update * use assistant_id * update azure-ai-client.json * update * PR review changes * Now with Agents * Remove new line * Add examples for Agents * Update model.tsp (#30890) * Updating Evaluation Schedule Typespec using typespec (#30908) * schedule init * swagger changes and format * add removed examples * add removed examples json * Turn off generated samples and test. Explicitly make some endpoint models public (#30940) * Rename workspaceName to projectName, (#30960) * Update request URL for agents (#30985) Co-authored-by: ShivangiReja <shivangi.reja@microsoft.com> * Add configuration to disable the generation of C# samples (#30987) * Add configuration to disable the generation of C# samples. * [AI Client] add new tool definitions for Agents (#31003) * [AI Client] add new tool definitions for Agents * emitter doesn't accept encodedName to be same as model member name * remove TODO comment * Evaluation API Review Feedback (#31039) * Fix some swagger files failing validation in Azure AI Client TypeSpec build (#31055) * Rename 'connections' back to 'endpoints' (#31089) * Add typescript configuration options for JS SDK (#31007) * Add typespec configuration * disable test and samples generation * Update property names for generate test * Update the configuration for C# to disable model namespace generation (#31091) Update Config * change new tool name to bing grounding (#31106) * [AI Client] [Tools] change to bing_grounding for bing tool name and field * update data-plane json * typos * compile errors * update example json * Update model.tsp (#31110) * Updates to `list` and `listSecrets` APIs. Add new `get` API. (#31105) * Add ID to connection properties * add optional parameters and changes to evaluation schedule (#31126) * change optional fields, remove displayname from schedule object as id will act as both, add optional connection_string * change id to name for schedule and change to ApplicationInsightsConfiguration * Copy to Azure.AI.Project * npx tsv . change * Update package name * more of the same * remove old recurrence and add optional in correct recurrence object (#31169) * Switch to azure-ai-projects * Azure.AI.Projects TypeSpec updates to support making two REST API calls to get AppInsights connection string (#31210) * Fix docstrings (#31251) * Fix string * Remove extra symbol * Fix line indentation * Fix * Update model name to InternalConnectionProperties * deleteSchedule to disableSchedule and remove samplingRate (#31309) * Jhakulin/azure ai client agents get file content update (#31318) * update to get file content * update * remove unnecessary type * format changes * make getFileContent internal Python (#31333) * Rename "diagnostics" to "telemetry" (#31335) * Add a connection type enum for Azure AI Search (#31350) * Glharper/ai projects new tools service changes (#31340) * reflect service schema changes * add compile tsp result * use sharepoint_grounding as rest type * review feedback * compiled sharepoint_grounding change * Ganeshbh/azure ai client rlc (#31406) * Testing RLC * changed to RLC as modular is not stable * disable generating metadata * Enable tests * Update package name * Move some properties from derived model to base model InternalConnectionProperties * Use Entra ID term instead of AAD term which is used on the wire (#31444) * Use `Entra ID` term instead of AAD term which is used on the wire * Update swagger * Add support of Azure asset IDs for the vector store. (#31192) * Propagate previous changes * Add configuration to vector store * Try set default as string * Make type optional and set a default * Revert change * Add extra field to response * Remove default * Fix * Fix * Add eclipse project files to gitignore * Fixes * Rename files and remove unused structure * Fixes for typespec * Fix typo * add status correctly (#31400) * Making evaluation schedule LRO * Reverting LRO changes for evaluation schedule * [AI] [Projects] update agent fabric rest field name (#31566) * [AI] [Projects] update agent fabric rest field name * review feedback * Use thread options when supplying thread messages to runs. (#31621) * Replace TheadMessage by ThreadMessageOptions * Fix docbuild * Fix typo (#31641) * incomplete run details change (#31667) * incomplete run details change * adding thread run incomplete event * Fix linter (#31679) * Add documentation and base scalar * Update swagger * Linter changes * Roll back swagger changes * adding json file * fixing typo * formatting change --------- Co-authored-by: Marko Hietala <markhiet@microsoft.com> Co-authored-by: nick863 <30440255+nick863@users.noreply.github.com> * Add spec for parallel run (#31684) * Add parallel run options * Update swagger * Fix typo and regeberate the swagger. * Try without encodeJson * Rebuild swagger * Remove explicit encoding * make parallelToolCalls non optional for threads * Return the parameter encodin * Mark all parallelToolCalls to be encoded. * [AI] [Agents] add OpenApiTool types (#31765) * add OpenApiTool types * use union for openapi auth type field * Make data source a single object (#31773) * Make data source a single object * Fix json name * Rename 'AI Studio' to 'AI Foundry' * Create a structure for AzureFunction. (#31601) * Create a structure for the Azure function * Fix sintax * Fix * Fix * Fix * Fix schema * Fix curly braces * Fix parameter names * Make type a discriminator * Fix descriminator * Fix typo in file * Make AzureFunctionDefinition internal * Fix * Rename field * Make AzureFunctionDefinition internal * Fix typo * Revert * Hide AzureFunctionDefinition * Fix * Check if access is public * Check internal absent * Check internal absent II * Rename FunctionTool to internal * Rename function name to internal * Revert changes * Don't rename FunctionDefinition rename just internal field * Revert changes * Add more information about queues. * Fix swagger and code formatting * Fix * Fix swagger * Fix * Make AzureFunctionBinding public * Rename storage queue URI to storage queue endpoint * Uodate spec and update swagger * Revert comment * Fix comment * Adopt specs version 2024-11-01-preview (#31744) * Add changes for the upcoming version * Create new swagger * Make include array an enumeration * Fix * Fix API * Make include[] optional * Try using Array<RunAdditionalFieldList> * Use include[] alias * Add id to the file search tool call results * Change specs to include ranker * Fix one field * Fix specs * Merge to upstream * make service name optional (#31603) Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com> * Fix createVectorStoreFile API (#32221) * Add "None" as a supported value for authentication type of a connection (#32426) * Use RunStepFileSearchToolCallResults instead of a string in search tool deserialization step during streaming. (#32681) * Replace string by object * Fix swagger * Add support for URL citation, and use "agentId" instead of "assistantId" in client SDKs (wire protocol still uses "assistant_id") (#32718) * evaluation target typespec for model+prompt (#33027) * Add Custom Keys Auth type (#33185) * Add Custom Keys Auth type * Update model.tsp * Add Custom Keys Connection type * Use "custom" as enum name * update data-plane * tsp format * Add new connection type (#33200) * Add new connection type * Udate swagger --------- Co-authored-by: Nikolay Rovinskiy <30440255+nick863@users.noreply.github.com> * Revert agentId/assistantId change for all except python for now (#33226) * Revert agentId/assistantId change for all except python for now Signed-off-by: trangevi <trangevi@microsoft.com> * npx commands Signed-off-by: trangevi <trangevi@microsoft.com> --------- Signed-off-by: trangevi <trangevi@microsoft.com> * make ConnectionType union. (#33246) * [AI] [Projects] Add new AI Search params (#33248) * [AI] [Projects] add new params for Azure AI Search * add filter param for ai search * [AI] [Projects] make new search params optional (#33361) * [AI] [Projects] rename fabric REST name to fabric_dataagent (#33242) * [AI] [Projects] rename fabric REST name to fabric_dataagent * update api json * update spec to latest version (#33409) * Minor fix after running `npx tsp format **\*.tsp` * Revert unintentional changes to package-lock.json * More revert * Again revert * Fix errors due to new TypeSpec compiler * [AI] [Project] add tool def for Bing Custom Search (#33457) * [AI] [Project] add tool def for Bing Custom Search * review feedback * [AI] [Projects] add openApi schema changes (#33600) * [AI] [Projects] add openApi schema changes * compile fixes * Fix broken folder structure in emitted Python SDK (#33664) * Fix wrong namespace value in tspconfig.yaml * Remove function definition from OpenAPI request. (#33688) * update comment for endpoint (#33707) * [AI] [Projects] add list threads operation (#33859) * [AI] [Projects] Add connected agent tool definition (#33956) * Jhakulin/image input assistants (#33775) Image input support added to createMessage and related models * [AI] [Projects] make list threads internal for .NET (#33994) * [AI] [Projects] make listThreads internal for .NET * update clientName * azure ai agents * Rename runId to run_id (#34142) * Jhakulin/persistent agents (#34143) * persistent agents * Update the swagger (#34168) * Rename runId to run_id * Add swagger * add operations * update names * fix * update all routes * format * fix files * Change names in C# (#34251) * Jhakulin/agent operations client (#34254) * update agents crud * update operation names for python (#34262) * update operation names for python * Minor name changes (#34263) * Jhakulin/agent operations vectorstore files (#34266) * vectorstore file batches * Simplify renamings for C# (#34264) * Simplify naming * Revert change * Add more changes * [AI] [Agents] bing search changes (#34343) * [AI] [Agents] add bing search changes * review feedback * update doc string for bing search config list * [AI] [Projects] Add index asset id for AI Search (#34382) * Internalize methods (#34315) * Internalize methods * Fix to typespec * Remove API * New way to generate lists (#34399) * Use new way o iterate over lists * Change scope * Remove key auth (#34503) * Fix C# naming (#34535) * Add functions member to OpenApiFunctionDefinition * Fix emitter error * Add version decorators for agents typespec (#34567) * Add version decorators * change multipartBoday back to File * Revert the changes under Azure.AI.Projects folder (#34579) * Fix (#34573) * Fix agent type spec pipeline errors (#34582) * generate examples * add readme.md * fix the examples folder structure * try to fix some OperationIdNounVerb errors * suppress more OperationIdNounVerb * 1) add api-version parameter for listVectorStoreFileBatchFiles 2) drop formdata examples * prettify examples * update * Add error response for every agent operation (#34618) * Add error response for every operations * formatting * update the AgentV1Error model * Jhakulin/delete op update (#34597) * make delete ops internal python * update file op * update api version * Renamings (#34630) * Address the agents v1 typespec PR comments (#34627) * Address the PR comments * update api version to v1 * update namespace for servicepatterns * Azure.AI.ServicePatterns * update servicepatterns namespace * bring index_asset_id back and make properties optional in IndexResource --------- Co-authored-by: jhakulin <jhakulin@microsoft.com> * Jhakulin/agents address comments servicepatterns (#34647) * Address the PR comments * update api version to v1 * update namespace for servicepatterns * use Azure.AI.ServicePatterns * update * try fix generator issue --------- Co-authored-by: Billy Hu <ninhu@microsoft.com> * Fix naming and remove docs (#34646) * Re-generate swagger examples (#34652) * remove all the examples * add swaggers * update examples * update * update * addtional typespec changes (#34665) * Re-generate agents v1 examples (#34668) * remove examples * generate swaggers * generate examples for preview version * drop broken examples * add more examples * update swaggers * add examples to typespec * update * revert .gitignore change * tsp format * revert gitignore change * fix the version (#34673) * update agent v1 error model name (#34685) * cleanup file purpose (#34698) --------- Signed-off-by: trangevi <trangevi@microsoft.com> Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jarno Hakulinen <jhakulin@microsoft.com> Co-authored-by: Sai Kothinti <saikothinti@microsoft.com> Co-authored-by: ShivangiReja <45216704+ShivangiReja@users.noreply.github.com> Co-authored-by: ShivangiReja <shivangi.reja@microsoft.com> Co-authored-by: Ganesh Bheemarasetty <1634042+ganeshyb@users.noreply.github.com> Co-authored-by: nick863 <30440255+nick863@users.noreply.github.com> Co-authored-by: Ankit Singhal <anksing@microsoft.com> Co-authored-by: M-Hietala <78813398+M-Hietala@users.noreply.github.com> Co-authored-by: Marko Hietala <markhiet@microsoft.com> Co-authored-by: Prachi Gandhi <73401862+gandhipr@users.noreply.github.com> Co-authored-by: Travis Angevine <trangevi@microsoft.com> Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com> Co-authored-by: Billy Hu <ninhu@microsoft.com>
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.
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.