Skip to content

[DNM] Validate typespec-azure#2607 #34659

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .github/actions/setup-node-install-deps/action.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: Setup Node and install dependencies
description: Uses specified Node version and installs dependencies (typically using "npm")

Expand All @@ -7,7 +7,7 @@
default: 22.x
install-command:
description: 'Command to install dependencies'
default: 'npm ci'
default: 'npm i --no-package-lock --force'
working-directory:
description: 'Working directory'
default: '.'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/spec-gen-sdk": "~0.6.1",
"@azure-tools/specs-shared": "file:.github/shared",
"@azure-tools/typespec-apiview": "0.7.2",
"@azure-tools/typespec-autorest": "0.56.0",
"@azure-tools/typespec-autorest": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDg3MzM5OS9hcnRpZmFjdE5hbWUvcGFja2FnZXM1/content?format=file&subPath=%2Fazure-tools-typespec-autorest-0.57.0-pr-2607.20250515.18.tgz",
"@azure-tools/typespec-azure-core": "0.56.0",
"@azure-tools/typespec-azure-portal-core": "0.56.0",
"@azure-tools/typespec-azure-resource-manager": "0.56.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1663,8 +1663,7 @@
"items": {
"$ref": "#/definitions/ToolOutput"
},
"x-ms-client-name": "toolOutputs",
"x-ms-identifiers": []
"x-ms-client-name": "toolOutputs"
},
"stream": {
"type": "boolean",
Expand Down Expand Up @@ -2038,8 +2037,7 @@
"items": {
"$ref": "#/definitions/VectorStoreDataSource"
},
"x-ms-client-name": "dataSources",
"x-ms-identifiers": []
"x-ms-client-name": "dataSources"
},
"chunking_strategy": {
"$ref": "#/definitions/VectorStoreChunkingStrategyRequest",
Expand Down Expand Up @@ -2717,8 +2715,7 @@
"default": [],
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"tool_resources": {
"$ref": "#/definitions/ToolResources",
Expand Down Expand Up @@ -3044,8 +3041,7 @@
"description": "The initial messages to associate with the new thread.",
"items": {
"$ref": "#/definitions/ThreadMessageOptions"
},
"x-ms-identifiers": []
}
},
"tool_resources": {
"$ref": "#/definitions/ToolResources",
Expand Down Expand Up @@ -3303,8 +3299,7 @@
"items": {
"$ref": "#/definitions/AISearchIndexResource"
},
"x-ms-client-name": "indexList",
"x-ms-identifiers": []
"x-ms-client-name": "indexList"
}
}
},
Expand Down Expand Up @@ -3467,8 +3462,7 @@
"items": {
"$ref": "#/definitions/BingCustomSearchConfiguration"
},
"x-ms-client-name": "searchConfigurations",
"x-ms-identifiers": []
"x-ms-client-name": "searchConfigurations"
}
},
"required": [
Expand Down Expand Up @@ -3518,8 +3512,7 @@
"items": {
"$ref": "#/definitions/BingGroundingSearchConfiguration"
},
"x-ms-client-name": "searchConfigurations",
"x-ms-identifiers": []
"x-ms-client-name": "searchConfigurations"
}
},
"required": [
Expand Down Expand Up @@ -3576,8 +3569,7 @@
"items": {
"$ref": "#/definitions/VectorStoreDataSource"
},
"x-ms-client-name": "dataSources",
"x-ms-identifiers": []
"x-ms-client-name": "dataSources"
}
}
},
Expand Down Expand Up @@ -3653,8 +3645,7 @@
"default": [],
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"tool_resources": {
"$ref": "#/definitions/ToolResources",
Expand Down Expand Up @@ -3725,8 +3716,7 @@
"x-nullable": true,
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"tool_resources": {
"$ref": "#/definitions/ToolResources",
Expand Down Expand Up @@ -3835,17 +3825,15 @@
"items": {
"$ref": "#/definitions/ThreadMessageOptions"
},
"x-ms-client-name": "additionalMessages",
"x-ms-identifiers": []
"x-ms-client-name": "additionalMessages"
},
"tools": {
"type": "array",
"description": "The overridden list of enabled tools that the agent should use to run the thread.",
"x-nullable": true,
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"stream": {
"type": "boolean",
Expand Down Expand Up @@ -3963,8 +3951,7 @@
"items": {
"$ref": "#/definitions/ToolConnection"
},
"x-ms-client-name": "connectionList",
"x-ms-identifiers": []
"x-ms-client-name": "connectionList"
}
}
},
Expand Down Expand Up @@ -4210,8 +4197,7 @@
"items": {
"$ref": "#/definitions/VectorStoreConfigurations"
},
"x-ms-client-name": "vectorStores",
"x-ms-identifiers": []
"x-ms-client-name": "vectorStores"
}
}
},
Expand Down Expand Up @@ -4515,8 +4501,7 @@
"description": "The content of the message as an array of text and/or images.",
"items": {
"$ref": "#/definitions/MessageDeltaContent"
},
"x-ms-identifiers": []
}
}
},
"required": [
Expand Down Expand Up @@ -4650,8 +4635,7 @@
"description": "Annotations for the text.",
"items": {
"$ref": "#/definitions/MessageDeltaTextAnnotation"
},
"x-ms-identifiers": []
}
}
}
},
Expand Down Expand Up @@ -5141,8 +5125,7 @@
"description": "A list of annotations associated with this text.",
"items": {
"$ref": "#/definitions/MessageTextAnnotation"
},
"x-ms-identifiers": []
}
}
},
"required": [
Expand Down Expand Up @@ -5431,8 +5414,7 @@
"items": {
"$ref": "#/definitions/FunctionDefinition"
},
"readOnly": true,
"x-ms-identifiers": []
"readOnly": true
}
},
"required": [
Expand Down Expand Up @@ -6029,8 +6011,7 @@
"description": "The outputs produced by the code interpreter tool back to the model in response to the tool call.",
"items": {
"$ref": "#/definitions/RunStepCodeInterpreterToolCallOutput"
},
"x-ms-identifiers": []
}
}
},
"required": [
Expand Down Expand Up @@ -6134,8 +6115,7 @@
"description": "The outputs from the Code Interpreter tool call. Code Interpreter can output one or more\nitems, including text (`logs`) or images (`image`). Each of these are represented by a\ndifferent object type.",
"items": {
"$ref": "#/definitions/RunStepDeltaCodeInterpreterOutput"
},
"x-ms-identifiers": []
}
}
}
},
Expand Down Expand Up @@ -6465,8 +6445,7 @@
"description": "The content of the result that was found. The content is only included if requested via the include query parameter.",
"items": {
"$ref": "#/definitions/FileSearchToolCallContent"
},
"x-ms-identifiers": []
}
}
},
"required": [
Expand All @@ -6489,8 +6468,7 @@
"description": "The array of a file search results",
"items": {
"$ref": "#/definitions/RunStepFileSearchToolCallResult"
},
"x-ms-identifiers": []
}
}
},
"required": [
Expand Down Expand Up @@ -6882,8 +6860,7 @@
"items": {
"$ref": "#/definitions/ToolConnection"
},
"x-ms-client-name": "connectionList",
"x-ms-identifiers": []
"x-ms-client-name": "connectionList"
}
}
},
Expand Down Expand Up @@ -7034,8 +7011,7 @@
"description": "The list of content items associated with the agent thread message.",
"items": {
"$ref": "#/definitions/MessageContent"
},
"x-ms-identifiers": []
}
},
"assistant_id": {
"type": "string",
Expand All @@ -7055,8 +7031,7 @@
"x-nullable": true,
"items": {
"$ref": "#/definitions/MessageAttachment"
},
"x-ms-identifiers": []
}
},
"metadata": {
"type": "object",
Expand Down Expand Up @@ -7102,8 +7077,7 @@
"x-nullable": true,
"items": {
"$ref": "#/definitions/MessageAttachment"
},
"x-ms-identifiers": []
}
},
"metadata": {
"type": "object",
Expand Down Expand Up @@ -7177,8 +7151,7 @@
"default": [],
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"created_at": {
"type": "integer",
Expand Down Expand Up @@ -7367,8 +7340,7 @@
"items": {
"$ref": "#/definitions/ToolConnection"
},
"x-ms-client-name": "connectionList",
"x-ms-identifiers": []
"x-ms-client-name": "connectionList"
}
}
},
Expand Down Expand Up @@ -7516,8 +7488,7 @@
"default": [],
"items": {
"$ref": "#/definitions/ToolDefinition"
},
"x-ms-identifiers": []
}
},
"tool_resources": {
"$ref": "#/definitions/ToolResources",
Expand Down Expand Up @@ -7760,8 +7731,7 @@
"items": {
"$ref": "#/definitions/VectorStoreDataSource"
},
"x-ms-client-name": "dataSources",
"x-ms-identifiers": []
"x-ms-client-name": "dataSources"
}
},
"required": [
Expand Down
Loading
Loading