Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 16 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
Expand All @@ -12,6 +12,7 @@
"@azure-tools/typespec-client-generator-cli": "0.31.0",
"@azure-tools/typespec-client-generator-core": "0.63.3",
"@azure-tools/typespec-liftr-base": "0.10.0",
"@azure-tools/openai-typespec":"^0.1.9",
Copy link
Member

@MaryGao MaryGao Jan 12, 2026

Choose a reason for hiding this comment

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

@markcowl and @timotheeguerin what is our recommandation to share the common typespec? do we have limitation on where to put shared lib? what if typespec has breaking which impacted third party libs, who will be responsible for upgrading?

// import "../.external-readonly/openai.external.typespec/finetuning/custom.tsp";
import "@azure-tools/openai-typespec/models/fine-tuning";

/cc @weidongxu-microsoft @lirenhe @lmazuel

"@autorest/openapi-to-typespec": "0.11.12",
"@azure/avocado": "0.10.5",
"@azure/oad": "0.12.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "../../openai.external.typespec/responses/models.tsp";
import "@azure-tools/openai-typespec/models/responses";

using Azure.Core.Experimental;

Expand Down Expand Up @@ -26,7 +26,7 @@ namespace AzureOpenAI;
// Note: this substitution removes OpenAI-local doc links.
@@doc(OpenAI.CreateResponse.tools,
"""
An array of tools the model may call while generating a response. You
An array of tools the model may call while generating a response. You
can specify which tool to use by setting the `tool_choice` parameter.

The two categories of tools you can provide the model are:
Expand All @@ -38,24 +38,24 @@ namespace AzureOpenAI;
"""
);

@@doc(OpenAI.ResponseWebSearchCallCompletedEvent,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.ResponseWebSearchCallInProgressEvent,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.ResponseWebSearchCallSearchingEvent,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.WebSearchPreviewTool,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.ToolChoiceObjectWebSearch,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.WebSearchToolCallItemParam,
"Note: web_search is not yet available via Azure OpenAI."
);
@@doc(OpenAI.WebSearchToolCallItemResource,
"Note: web_search is not yet available via Azure OpenAI."
);
// @@doc(OpenAI.ResponseWebSearchCallCompletedEvent,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.ResponseWebSearchCallInProgressEvent,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.ResponseWebSearchCallSearchingEvent,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.WebSearchPreviewTool,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.ToolChoiceObjectWebSearch,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.WebSearchToolCallItemParam,
// "Note: web_search is not yet available via Azure OpenAI."
// );
// @@doc(OpenAI.WebSearchToolCallItemResource,
// "Note: web_search is not yet available via Azure OpenAI."
// );

This file was deleted.

Loading
Loading